Lines Matching defs:mode
852 * @mode: PTRACE_MODE flags
863 int security_ptrace_access_check(struct task_struct *child, unsigned int mode)
865 return call_int_hook(ptrace_access_check, 0, child, mode);
1053 * to 1 if AT_SECURE should be set to request libc enable secure mode. @bprm
1075 * to 1 if AT_SECURE should be set to request libc enable secure mode. The
1539 * @mode: mode used to determine resource type
1551 int security_dentry_init_security(struct dentry *dentry, int mode,
1564 rc = hp->hook.dentry_init_security(dentry, mode, name,
1576 * @mode: mode used to determine resource type
1588 int security_dentry_create_files_as(struct dentry *dentry, int mode,
1592 return call_int_hook(dentry_create_files_as, 0, dentry, mode,
1702 * @mode: new file mode
1711 umode_t mode, unsigned int dev)
1715 return call_int_hook(path_mknod, 0, dir, dentry, mode, dev);
1723 * @mode: new directory mode
1730 umode_t mode)
1734 return call_int_hook(path_mkdir, 0, dir, dentry, mode);
1851 * security_path_chmod() - Check if changing the file's mode is allowed
1853 * @mode: new mode
1855 * Check for permission to change a mode of the file @path. The new mode is
1856 * specified in @mode which is a bitmask of constants from
1861 int security_path_chmod(const struct path *path, umode_t mode)
1865 return call_int_hook(path_chmod, 0, path, mode);
1903 * @mode: requested file mode
1910 umode_t mode)
1914 return call_int_hook(inode_create, 0, dir, dentry, mode);
1974 * @mode: new directory mode
1981 int security_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
1985 return call_int_hook(inode_mkdir, 0, dir, dentry, mode);
2009 * @mode: new file mode
2020 umode_t mode, dev_t dev)
2024 return call_int_hook(inode_mknod, 0, dir, dentry, mode, dev);
2078 * @rcu: true if in RCU-walk mode
2652 * security_file_ioctl_compat() - Check if an ioctl is allowed in compat mode
3624 * @mode: operation flags
3634 struct task_struct *target, long type, int mode)
3636 return call_int_hook(msg_queue_msgrcv, 0, msq, msg, target, type, mode);
5196 * @fmode: mode