Home
last modified time | relevance | path

Searched refs:ibpkey (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/security/
Dlsm_audit.c418 memcpy(&sbn_pfx.s6_addr, &a->u.ibpkey->subnet_prefix, in dump_common_audit_data()
419 sizeof(a->u.ibpkey->subnet_prefix)); in dump_common_audit_data()
421 a->u.ibpkey->pkey, &sbn_pfx); in dump_common_audit_data()
/Linux-v4.19/security/selinux/
DMakefile9 netnode.o netport.o ibpkey.o exports.o \
Dhooks.c6698 struct lsm_ibpkey_audit ibpkey; in selinux_ib_pkey_access() local
6705 ibpkey.subnet_prefix = subnet_prefix; in selinux_ib_pkey_access()
6706 ibpkey.pkey = pkey_val; in selinux_ib_pkey_access()
6707 ad.u.ibpkey = &ibpkey; in selinux_ib_pkey_access()
/Linux-v4.19/include/linux/
Dlsm_audit.h94 struct lsm_ibpkey_audit *ibpkey; member
/Linux-v4.19/security/selinux/ss/
Dpolicydb.h194 } ibpkey; member
Dpolicydb.c2225 c->u.ibpkey.subnet_prefix = be64_to_cpu(*((__be64 *)nodebuf)); in ocontext_read()
2233 c->u.ibpkey.low_pkey = le32_to_cpu(nodebuf[2]); in ocontext_read()
2234 c->u.ibpkey.high_pkey = le32_to_cpu(nodebuf[3]); in ocontext_read()
3195 *((__be64 *)nodebuf) = cpu_to_be64(c->u.ibpkey.subnet_prefix); in ocontext_write()
3197 nodebuf[2] = cpu_to_le32(c->u.ibpkey.low_pkey); in ocontext_write()
3198 nodebuf[3] = cpu_to_le32(c->u.ibpkey.high_pkey); in ocontext_write()
Dservices.c2333 if (c->u.ibpkey.low_pkey <= pkey_num && in security_ib_pkey_sid()
2334 c->u.ibpkey.high_pkey >= pkey_num && in security_ib_pkey_sid()
2335 c->u.ibpkey.subnet_prefix == subnet_prefix) in security_ib_pkey_sid()