Home
last modified time | relevance | path

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

/security/selinux/ss/
Dsymtab.c15 unsigned int val; in symhash() local
17 val = 0; in symhash()
21 val = (val << 4 | (val >> (8*sizeof(unsigned int)-4))) ^ (*p); in symhash()
22 return val & (h->size - 1); in symhash()
Davtab.c383 u32 items, items2, val, vers = pol->policyvers; in avtab_read_item() local
414 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
415 key.source_type = (u16)val; in avtab_read_item()
416 if (key.source_type != val) { in avtab_read_item()
420 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
421 key.target_type = (u16)val; in avtab_read_item()
422 if (key.target_type != val) { in avtab_read_item()
426 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
427 key.target_class = (u16)val; in avtab_read_item()
428 if (key.target_class != val) { in avtab_read_item()
[all …]
/security/apparmor/
Dlsm.c666 static int param_set_aabool(const char *val, const struct kernel_param *kp);
674 static int param_set_aauint(const char *val, const struct kernel_param *kp);
682 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp);
690 static int param_set_audit(const char *val, struct kernel_param *kp);
693 static int param_set_mode(const char *val, struct kernel_param *kp);
760 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp) in param_set_aalockpolicy() argument
766 return param_set_bool(val, kp); in param_set_aalockpolicy()
776 static int param_set_aabool(const char *val, const struct kernel_param *kp) in param_set_aabool() argument
780 return param_set_bool(val, kp); in param_set_aabool()
790 static int param_set_aauint(const char *val, const struct kernel_param *kp) in param_set_aauint() argument
[all …]
/security/selinux/
Dnetlink.c53 msg->val = *((int *)data); in selnl_add_payload()
101 void selnl_notify_setenforce(int val) in selnl_notify_setenforce() argument
103 selnl_notify(SELNL_MSG_SETENFORCE, &val); in selnl_notify_setenforce()
/security/integrity/ima/
Dima_fs.c31 loff_t *ppos, atomic_long_t *val) in ima_show_htable_value() argument
36 len = scnprintf(tmpbuf, TMPBUFLEN, "%li\n", atomic_long_read(val)); in ima_show_htable_value()
/security/selinux/include/
Dsecurity.h256 extern void selnl_notify_setenforce(int val);