Home
last modified time | relevance | path

Searched refs:val (Results 1 – 9 of 9) sorted by relevance

/security/selinux/ss/
Dsymtab.c16 unsigned int val; in symhash() local
18 val = 0; in symhash()
22 val = (val << 4 | (val >> (8*sizeof(unsigned int)-4))) ^ (*p); in symhash()
23 return val & (h->size - 1); in symhash()
Davtab.c394 u32 items, items2, val, vers = pol->policyvers; in avtab_read_item() local
424 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
425 key.source_type = (u16)val; in avtab_read_item()
426 if (key.source_type != val) { in avtab_read_item()
430 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
431 key.target_type = (u16)val; in avtab_read_item()
432 if (key.target_type != val) { in avtab_read_item()
436 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
437 key.target_class = (u16)val; in avtab_read_item()
438 if (key.target_class != val) { in avtab_read_item()
[all …]
/security/selinux/
Dnetlink.c50 msg->val = *((int *)data); in selnl_add_payload()
98 void selnl_notify_setenforce(int val) in selnl_notify_setenforce() argument
100 selnl_notify(SELNL_MSG_SETENFORCE, &val); in selnl_notify_setenforce()
Dhooks.c1040 static int selinux_add_mnt_opt(const char *option, const char *val, int len, in selinux_add_mnt_opt() argument
1057 val = kmemdup_nul(val, len, GFP_KERNEL); in selinux_add_mnt_opt()
1058 if (!val) { in selinux_add_mnt_opt()
1063 rc = selinux_add_opt(token, val, mnt_opts); in selinux_add_mnt_opt()
1065 kfree(val); in selinux_add_mnt_opt()
/security/apparmor/
Dlsm.c1248 static int param_set_aabool(const char *val, const struct kernel_param *kp);
1257 static int param_set_aauint(const char *val, const struct kernel_param *kp);
1265 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp);
1274 static int param_set_audit(const char *val, const struct kernel_param *kp);
1277 static int param_set_mode(const char *val, const struct kernel_param *kp);
1336 static int param_set_aaintbool(const char *val, const struct kernel_param *kp);
1358 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp) in param_set_aalockpolicy() argument
1364 return param_set_bool(val, kp); in param_set_aalockpolicy()
1376 static int param_set_aabool(const char *val, const struct kernel_param *kp) in param_set_aabool() argument
1382 return param_set_bool(val, kp); in param_set_aabool()
[all …]
/security/integrity/ima/
Dima_fs.c43 loff_t *ppos, atomic_long_t *val) in ima_show_htable_value() argument
48 len = scnprintf(tmpbuf, sizeof(tmpbuf), "%li\n", atomic_long_read(val)); in ima_show_htable_value()
Dima_crypto.c36 static int param_set_bufsize(const char *val, const struct kernel_param *kp) in param_set_bufsize() argument
41 size = memparse(val, NULL); in param_set_bufsize()
/security/selinux/include/
Dsecurity.h398 extern void selnl_notify_setenforce(int val);
/security/
Dsecurity.c894 int security_add_mnt_opt(const char *option, const char *val, int len, in security_add_mnt_opt() argument
898 option, val, len, mnt_opts); in security_add_mnt_opt()