Home
last modified time | relevance | path

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

/security/selinux/
Davc.c624 unsigned long flag; in avc_latest_notif_update() local
626 spin_lock_irqsave(&notif_lock, flag); in avc_latest_notif_update()
637 spin_unlock_irqrestore(&notif_lock, flag); in avc_latest_notif_update()
666 unsigned long flag; in avc_insert() local
687 spin_lock_irqsave(lock, flag); in avc_insert()
698 spin_unlock_irqrestore(lock, flag); in avc_insert()
830 unsigned long flag; in avc_update_node() local
847 spin_lock_irqsave(lock, flag); in avc_update_node()
907 spin_unlock_irqrestore(lock, flag); in avc_update_node()
920 unsigned long flag; in avc_flush() local
[all …]
DKconfig83 This option sets the default value for the 'checkreqprot' flag
91 The checkreqprot flag may be changed from the default via the
Dhooks.c560 static int bad_option(struct superblock_security_struct *sbsec, char flag, in bad_option() argument
567 if (!(sbsec->flags & flag) || in bad_option()
575 if (mnt_flags & flag) in bad_option()
5391 static int selinux_ipc_permission(struct kern_ipc_perm *ipcp, short flag) in selinux_ipc_permission() argument
5396 if (flag & S_IRUGO) in selinux_ipc_permission()
5398 if (flag & S_IWUGO) in selinux_ipc_permission()
/security/tomoyo/
Dcondition.c443 bool flag; in tomoyo_get_transit_preference() local
452 flag = tomoyo_correct_path(pos) || !strcmp(pos, "keep") || in tomoyo_get_transit_preference()
458 if (!flag) in tomoyo_get_transit_preference()
661 bool flag = false; in tomoyo_get_condition() local
665 if (flag) /* Restore " ". */ in tomoyo_get_condition()
671 flag = !flag; in tomoyo_get_condition()
Dfile.c736 struct path *path, const int flag) in tomoyo_check_open_permission() argument
738 const u8 acc_mode = ACC_MODE(flag); in tomoyo_check_open_permission()
762 error = tomoyo_path_permission(&r, (flag & O_APPEND) ? in tomoyo_check_open_permission()
Dcommon.h960 struct path *path, const int flag);
/security/
Dsecurity.c944 int security_ipc_permission(struct kern_ipc_perm *ipcp, short flag) in security_ipc_permission() argument
946 return security_ops->ipc_permission(ipcp, flag); in security_ipc_permission()
Dcapability.c480 static int cap_ipc_permission(struct kern_ipc_perm *ipcp, short flag) in cap_ipc_permission() argument
/security/smack/
Dsmack_lsm.c2426 static int smack_ipc_permission(struct kern_ipc_perm *ipp, short flag) in smack_ipc_permission() argument
2429 int may = smack_flags_to_may(flag); in smack_ipc_permission()