Home
last modified time | relevance | path

Searched refs:subnet_prefix (Results 1 – 10 of 10) sorted by relevance

/security/selinux/
Dibpkey.c71 static struct sel_ib_pkey *sel_ib_pkey_find(u64 subnet_prefix, u16 pkey_num) in sel_ib_pkey_find() argument
79 pkey->psec.subnet_prefix == subnet_prefix) in sel_ib_pkey_find()
130 static int sel_ib_pkey_sid_slow(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid_slow() argument
138 pkey = sel_ib_pkey_find(subnet_prefix, pkey_num); in sel_ib_pkey_sid_slow()
145 ret = security_ib_pkey_sid(&selinux_state, subnet_prefix, pkey_num, in sel_ib_pkey_sid_slow()
157 new->psec.subnet_prefix = subnet_prefix; in sel_ib_pkey_sid_slow()
180 int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid() argument
185 pkey = sel_ib_pkey_find(subnet_prefix, pkey_num); in sel_ib_pkey_sid()
193 return sel_ib_pkey_sid_slow(subnet_prefix, pkey_num, sid); in sel_ib_pkey_sid()
Dhooks.c6589 static int selinux_ib_pkey_access(void *ib_sec, u64 subnet_prefix, u16 pkey_val) in selinux_ib_pkey_access() argument
6597 err = sel_ib_pkey_sid(subnet_prefix, pkey_val, &sid); in selinux_ib_pkey_access()
6602 ibpkey.subnet_prefix = subnet_prefix; in selinux_ib_pkey_access()
/security/selinux/include/
Dibpkey.h19 int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey, u32 *sid);
Dobjsec.h138 u64 subnet_prefix; /* Port subnet prefix */ member
Dsecurity.h293 u64 subnet_prefix, u16 pkey_num, u32 *out_sid);
/security/
Dlsm_audit.c417 memcpy(&sbn_pfx.s6_addr, &a->u.ibpkey->subnet_prefix, in dump_common_audit_data()
418 sizeof(a->u.ibpkey->subnet_prefix)); in dump_common_audit_data()
Dsecurity.c2201 int security_ib_pkey_access(void *sec, u64 subnet_prefix, u16 pkey) in security_ib_pkey_access() argument
2203 return call_int_hook(ib_pkey_access, 0, sec, subnet_prefix, pkey); in security_ib_pkey_access()
/security/selinux/ss/
Dpolicydb.h187 u64 subnet_prefix; member
Dservices.c2361 u64 subnet_prefix, u16 pkey_num, u32 *out_sid) in security_ib_pkey_sid() argument
2375 c->u.ibpkey.subnet_prefix == subnet_prefix) in security_ib_pkey_sid()
Dpolicydb.c2196 c->u.ibpkey.subnet_prefix = be64_to_cpu(prefixbuf[0]); in ocontext_read()
3178 prefixbuf[0] = cpu_to_be64(c->u.ibpkey.subnet_prefix); in ocontext_write()