Searched refs:flag (Results 1 – 8 of 8) sorted by relevance
/security/selinux/ |
D | avc.c | 576 unsigned long flag; in avc_latest_notif_update() local 578 spin_lock_irqsave(¬if_lock, flag); in avc_latest_notif_update() 589 spin_unlock_irqrestore(¬if_lock, flag); in avc_latest_notif_update() 619 unsigned long flag; in avc_insert() local 640 spin_lock_irqsave(lock, flag); in avc_insert() 651 spin_unlock_irqrestore(lock, flag); in avc_insert() 850 unsigned long flag; in avc_update_node() local 883 spin_lock_irqsave(lock, flag); in avc_update_node() 943 spin_unlock_irqrestore(lock, flag); in avc_update_node() 956 unsigned long flag; in avc_flush() local [all …]
|
D | Kconfig | 75 This option sets the default value for the 'checkreqprot' flag 83 The checkreqprot flag may be changed from the default via the
|
D | hooks.c | 612 static int bad_option(struct superblock_security_struct *sbsec, char flag, in bad_option() argument 619 if (!(sbsec->flags & flag) || in bad_option() 627 if (mnt_flags & flag) in bad_option() 6238 static int selinux_ipc_permission(struct kern_ipc_perm *ipcp, short flag) in selinux_ipc_permission() argument 6243 if (flag & S_IRUGO) in selinux_ipc_permission() 6245 if (flag & S_IWUGO) in selinux_ipc_permission()
|
/security/tomoyo/ |
D | condition.c | 458 bool flag; in tomoyo_get_transit_preference() local 469 flag = tomoyo_correct_path(pos) || !strcmp(pos, "keep") || in tomoyo_get_transit_preference() 475 if (!flag) in tomoyo_get_transit_preference() 680 bool flag = false; in tomoyo_get_condition() local 685 if (flag) /* Restore " ". */ in tomoyo_get_condition() 691 flag = !flag; in tomoyo_get_condition()
|
D | file.c | 754 const struct path *path, const int flag) in tomoyo_check_open_permission() argument 756 const u8 acc_mode = ACC_MODE(flag); in tomoyo_check_open_permission() 780 error = tomoyo_path_permission(&r, (flag & O_APPEND) ? in tomoyo_check_open_permission()
|
D | common.h | 971 const struct path *path, const int flag);
|
/security/ |
D | security.c | 1731 int security_ipc_permission(struct kern_ipc_perm *ipcp, short flag) in security_ipc_permission() argument 1733 return call_int_hook(ipc_permission, 0, ipcp, flag); in security_ipc_permission()
|
/security/smack/ |
D | smack_lsm.c | 3231 static int smack_ipc_permission(struct kern_ipc_perm *ipp, short flag) in smack_ipc_permission() argument 3235 int may = smack_flags_to_may(flag); in smack_ipc_permission()
|