Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 8 of 8) sorted by relevance

/security/selinux/
Davc.c576 unsigned long flag; in avc_latest_notif_update() local
578 spin_lock_irqsave(&notif_lock, flag); in avc_latest_notif_update()
589 spin_unlock_irqrestore(&notif_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 …]
DKconfig75 This option sets the default value for the 'checkreqprot' flag
83 The checkreqprot flag may be changed from the default via the
Dhooks.c612 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/
Dcondition.c458 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()
Dfile.c754 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()
Dcommon.h971 const struct path *path, const int flag);
/security/
Dsecurity.c1731 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/
Dsmack_lsm.c3231 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()