Lines Matching refs:flags

240 	if ((lsm->flags & LSM_FLAG_EXCLUSIVE) && exclusive) {

298 if ((lsm->flags & LSM_FLAG_EXCLUSIVE) && !exclusive) {
349 if ((major->flags & LSM_FLAG_LEGACY_MAJOR) &&
742 * @gfp: allocation flags
873 * @flags: LSM defined flags
884 u64 id, u64 flags)
906 nctx->flags = flags;
1049 * @mode: PTRACE_MODE flags
1277 * hook must add to @bprm->per_clear any personality flags that should be
1555 * @flags: mount flags
1561 * (@flags & MS_REMOUNT), @dev_name is irrelevant. For a loopback/bind mount
1562 * (@flags & MS_BIND), @dev_name identifies the pathname of the object being
1568 const char *type, unsigned long flags, void *data)
1570 return call_int_hook(sb_mount, dev_name, path, type, flags, data);
1576 * @flags: unmount flags
1582 int security_sb_umount(struct vfsmount *mnt, int flags)
1584 return call_int_hook(sb_umount, mnt, flags);
1606 * @kern_flags: kernel flags (in)
1607 * @set_kern_flags: kernel flags (out)
1635 * @kern_flags: kernel flags (in)
1636 * @set_kern_flags: kernel flags (out)
1687 * @gfp: allocation flags
2011 * @flags: flags
2019 unsigned int flags)
2027 new_dentry, flags);
2246 * @flags: flags
2254 unsigned int flags)
2261 if (flags & RENAME_EXCHANGE) {
2387 * @flags: flags
2408 const void *value, size_t size, int flags)
2417 rc = cap_inode_setxattr(dentry, name, value, size, flags);
2423 flags);
2525 * @flags: flags
2530 const void *value, size_t size, int flags)
2534 call_void_hook(inode_post_setxattr, dentry, name, value, size, flags);
2721 * @flags: flags
2725 * @flags may be XATTR_CREATE, XATTR_REPLACE, or 0. Note that @name is the
2731 const void *value, size_t size, int flags)
2737 flags);
3002 * @flags: flags
3010 unsigned long flags)
3013 flags);
3182 * @clone_flags: flags indicating what is being shared
3218 * @gfp: gfp flags
3263 * @gfp: gfp flags
3447 * @flags: LSM_SETID_* flag values
3450 * attributes of the current process. The @flags parameter indicates which of
3458 int flags)
3460 return call_int_hook(task_fix_setuid, new, old, flags);
3467 * @flags: LSM_SETID_* flag value
3470 * attributes of the current process. The @flags parameter indicates which of
3478 int flags)
3480 return call_int_hook(task_fix_setgid, new, old, flags);
3616 * @flags: LSM_PRLIMIT_* flag bits indicating a get/set/both
3624 unsigned int flags)
3626 return call_int_hook(task_prlimit, cred, tcred, flags);
3865 * @msqflg: operation flags
3897 * @msqflg: operation flags
3916 * @mode: operation flags
3968 * @shmflg: operation flags
4001 * @shmflg: operation flags
4052 * @semflg: operation flags
4122 * @flags: special handling options. LSM_FLAG_SINGLE indicates that only
4134 u32 __user *size, u32 flags)
4154 if (flags) {
4158 if (flags != LSM_FLAG_SINGLE || !uctx)
4180 rc = scall->hl->hook.getselfattr(attr, uctx, &entrysize, flags);
4215 * @flags: reserved for future use, must be 0
4225 u32 size, u32 flags)
4232 if (flags)
4252 rc = scall->hl->hook.setselfattr(attr, lctx, size, flags);
4712 * @flags: operational flags
4719 int size, int flags)
4721 return call_int_hook(socket_recvmsg, sock, msg, size, flags);
4876 * @priority: gfp flags
5305 * @gfp: gfp flags
5501 * @flags: allocation flags
5509 unsigned long flags)
5515 rc = call_int_hook(key_alloc, key, cred, flags);
5574 * @flags: key flags
5581 unsigned long flags, bool create)
5584 payload_len, flags, create);