Lines Matching refs:mode

1049  * @mode: PTRACE_MODE flags

1060 int security_ptrace_access_check(struct task_struct *child, unsigned int mode)
1062 return call_int_hook(ptrace_access_check, child, mode);
1248 * to 1 if AT_SECURE should be set to request libc enable secure mode. @bprm
1276 * to 1 if AT_SECURE should be set to request libc enable secure mode. The
1741 * @mode: mode used to determine resource type
1752 int security_dentry_init_security(struct dentry *dentry, int mode,
1757 return call_int_hook(dentry_init_security, dentry, mode, name,
1765 * @mode: mode used to determine resource type
1777 int security_dentry_create_files_as(struct dentry *dentry, int mode,
1781 return call_int_hook(dentry_create_files_as, dentry, mode,
1886 * @mode: new file mode
1895 umode_t mode, unsigned int dev)
1899 return call_int_hook(path_mknod, dir, dentry, mode, dev);
1921 * @mode: new directory mode
1928 umode_t mode)
1932 return call_int_hook(path_mkdir, dir, dentry, mode);
2049 * security_path_chmod() - Check if changing the file's mode is allowed
2051 * @mode: new mode
2053 * Check for permission to change a mode of the file @path. The new mode is
2054 * specified in @mode which is a bitmask of constants from
2059 int security_path_chmod(const struct path *path, umode_t mode)
2063 return call_int_hook(path_chmod, path, mode);
2101 * @mode: requested file mode
2108 umode_t mode)
2112 return call_int_hook(inode_create, dir, dentry, mode);
2187 * @mode: new directory mode
2194 int security_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
2198 return call_int_hook(inode_mkdir, dir, dentry, mode);
2222 * @mode: new file mode
2233 umode_t mode, dev_t dev)
2237 return call_int_hook(inode_mknod, dir, dentry, mode, dev);
2291 * @rcu: true if in RCU-walk mode
2948 * security_file_ioctl_compat() - Check if an ioctl is allowed in compat mode
3916 * @mode: operation flags
3926 struct task_struct *target, long type, int mode)
3928 return call_int_hook(msg_queue_msgrcv, msq, msg, target, type, mode);
4861 * @gfp: allocation mode
5676 * @fmode: mode