Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 6 of 6) sorted by relevance

/security/
Dsecurity.c2231 int security_ib_pkey_access(void *sec, u64 subnet_prefix, u16 pkey) in security_ib_pkey_access() argument
2233 return call_int_hook(ib_pkey_access, 0, sec, subnet_prefix, pkey); in security_ib_pkey_access()
2237 int security_ib_endport_manage_subnet(void *sec, const char *dev_name, u8 port_num) in security_ib_endport_manage_subnet() argument
2239 return call_int_hook(ib_endport_manage_subnet, 0, sec, dev_name, port_num); in security_ib_endport_manage_subnet()
2243 int security_ib_alloc_security(void **sec) in security_ib_alloc_security() argument
2245 return call_int_hook(ib_alloc_security, 0, sec); in security_ib_alloc_security()
2249 void security_ib_free_security(void *sec) in security_ib_free_security() argument
2251 call_void_hook(ib_free_security, sec); in security_ib_free_security()
/security/tomoyo/
Daudit.c168 stamp.min, stamp.sec, r->profile, tomoyo_mode[r->mode], in tomoyo_print_header()
Dutil.c96 stamp->sec = tm.tm_sec; in tomoyo_convert_time()
Dcommon.h898 u8 sec; member
Dcommon.c2367 stamp.hour, stamp.min, stamp.sec); in tomoyo_read_stat()
/security/selinux/
Dhooks.c6682 struct ib_security_struct *sec = ib_sec; in selinux_ib_pkey_access() local
6694 sec->sid, sid, in selinux_ib_pkey_access()
6705 struct ib_security_struct *sec = ib_sec; in selinux_ib_endport_manage_subnet() local
6719 sec->sid, sid, in selinux_ib_endport_manage_subnet()
6726 struct ib_security_struct *sec; in selinux_ib_alloc_security() local
6728 sec = kzalloc(sizeof(*sec), GFP_KERNEL); in selinux_ib_alloc_security()
6729 if (!sec) in selinux_ib_alloc_security()
6731 sec->sid = current_sid(); in selinux_ib_alloc_security()
6733 *ib_sec = sec; in selinux_ib_alloc_security()