Searched defs:flag (Results 1 - 7 of 7) sorted by relevance

/security/tomoyo/
H A Dcondition.c443 bool flag; local
452 flag = tomoyo_correct_path(pos) || !strcmp(pos, "keep") ||
458 if (!flag)
661 bool flag = false; local
665 if (flag) /* Restore " ". */
671 flag = !flag;
H A Dfile.c731 * @flag: Flags for open().
736 struct path *path, const int flag)
738 const u8 acc_mode = ACC_MODE(flag);
762 error = tomoyo_path_permission(&r, (flag & O_APPEND) ?
735 tomoyo_check_open_permission(struct tomoyo_domain_info *domain, struct path *path, const int flag) argument
/security/selinux/
H A Davc.c634 unsigned long flag; local
636 spin_lock_irqsave(&notif_lock, flag);
647 spin_unlock_irqrestore(&notif_lock, flag);
676 unsigned long flag; local
697 spin_lock_irqsave(lock, flag);
708 spin_unlock_irqrestore(lock, flag);
840 unsigned long flag; local
857 spin_lock_irqsave(lock, flag);
917 spin_unlock_irqrestore(lock, flag);
930 unsigned long flag; local
[all...]
H A Dhooks.c523 /* Check if the Label support flag is set */
585 static int bad_option(struct superblock_security_struct *sbsec, char flag, argument
592 if (!(sbsec->flags & flag) ||
600 if (mnt_flags & flag)
5575 static int selinux_ipc_permission(struct kern_ipc_perm *ipcp, short flag) argument
5580 if (flag & S_IRUGO)
5582 if (flag & S_IWUGO)
/security/
H A Dcapability.c495 static int cap_ipc_permission(struct kern_ipc_perm *ipcp, short flag) argument
H A Dsecurity.c985 int security_ipc_permission(struct kern_ipc_perm *ipcp, short flag) argument
987 return security_ops->ipc_permission(ipcp, flag);
/security/smack/
H A Dsmack_lsm.c999 * @iattr: for the force flag
2955 * @flag: access requested
2959 static int smack_ipc_permission(struct kern_ipc_perm *ipp, short flag) argument
2962 int may = smack_flags_to_may(flag);

Completed in 2561 milliseconds