Lines Matching defs:mode

943  * @mode: PTRACE_MODE flags
954 int security_ptrace_access_check(struct task_struct *child, unsigned int mode)
956 return call_int_hook(ptrace_access_check, child, mode);
1143 * to 1 if AT_SECURE should be set to request libc enable secure mode. @bprm
1165 * to 1 if AT_SECURE should be set to request libc enable secure mode. The
1631 * @mode: mode used to determine resource type
1643 int security_dentry_init_security(struct dentry *dentry, int mode,
1648 return call_int_hook(dentry_init_security, dentry, mode, name,
1656 * @mode: mode used to determine resource type
1668 int security_dentry_create_files_as(struct dentry *dentry, int mode,
1672 return call_int_hook(dentry_create_files_as, dentry, mode,
1778 * @mode: new file mode
1787 umode_t mode, unsigned int dev)
1791 return call_int_hook(path_mknod, dir, dentry, mode, dev);
1813 * @mode: new directory mode
1820 umode_t mode)
1824 return call_int_hook(path_mkdir, dir, dentry, mode);
1941 * security_path_chmod() - Check if changing the file's mode is allowed
1943 * @mode: new mode
1945 * Check for permission to change a mode of the file @path. The new mode is
1946 * specified in @mode which is a bitmask of constants from
1951 int security_path_chmod(const struct path *path, umode_t mode)
1955 return call_int_hook(path_chmod, path, mode);
1993 * @mode: requested file mode
2000 umode_t mode)
2004 return call_int_hook(inode_create, dir, dentry, mode);
2079 * @mode: new directory mode
2086 int security_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
2090 return call_int_hook(inode_mkdir, dir, dentry, mode);
2114 * @mode: new file mode
2125 umode_t mode, dev_t dev)
2129 return call_int_hook(inode_mknod, dir, dentry, mode, dev);
2183 * @rcu: true if in RCU-walk mode
2770 * security_file_ioctl_compat() - Check if an ioctl is allowed in compat mode
3723 * @mode: operation flags
3733 struct task_struct *target, long type, int mode)
3735 return call_int_hook(msg_queue_msgrcv, msq, msg, target, type, mode);
5412 * @fmode: mode