Searched refs:val (Results 1 – 7 of 7) sorted by relevance
/security/selinux/ss/ |
D | symtab.c | 15 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()
|
D | avtab.c | 383 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/ |
D | lsm.c | 667 static int param_set_aabool(const char *val, const struct kernel_param *kp); 676 static int param_set_aauint(const char *val, const struct kernel_param *kp); 684 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp); 693 static int param_set_audit(const char *val, struct kernel_param *kp); 696 static int param_set_mode(const char *val, struct kernel_param *kp); 763 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp) in param_set_aalockpolicy() argument 769 return param_set_bool(val, kp); in param_set_aalockpolicy() 779 static int param_set_aabool(const char *val, const struct kernel_param *kp) in param_set_aabool() argument 783 return param_set_bool(val, kp); in param_set_aabool() 793 static int param_set_aauint(const char *val, const struct kernel_param *kp) in param_set_aauint() argument [all …]
|
/security/selinux/ |
D | netlink.c | 53 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/ |
D | ima_fs.c | 31 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()
|
D | ima_crypto.c | 44 static int param_set_bufsize(const char *val, const struct kernel_param *kp) in param_set_bufsize() argument 49 size = memparse(val, NULL); in param_set_bufsize()
|
/security/selinux/include/ |
D | security.h | 262 extern void selnl_notify_setenforce(int val);
|