constify security_path_{mkdir,mknod,symlink}
... as well as unix_mknod() and may_o_create() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
989f74e050
commit
d360775217
7 changed files with 20 additions and 20 deletions
|
@ -1361,13 +1361,13 @@ union security_list_options {
|
|||
|
||||
#ifdef CONFIG_SECURITY_PATH
|
||||
int (*path_unlink)(const struct path *dir, struct dentry *dentry);
|
||||
int (*path_mkdir)(struct path *dir, struct dentry *dentry,
|
||||
int (*path_mkdir)(const struct path *dir, struct dentry *dentry,
|
||||
umode_t mode);
|
||||
int (*path_rmdir)(const struct path *dir, struct dentry *dentry);
|
||||
int (*path_mknod)(struct path *dir, struct dentry *dentry,
|
||||
int (*path_mknod)(const struct path *dir, struct dentry *dentry,
|
||||
umode_t mode, unsigned int dev);
|
||||
int (*path_truncate)(const struct path *path);
|
||||
int (*path_symlink)(struct path *dir, struct dentry *dentry,
|
||||
int (*path_symlink)(const struct path *dir, struct dentry *dentry,
|
||||
const char *old_name);
|
||||
int (*path_link)(struct dentry *old_dentry, struct path *new_dir,
|
||||
struct dentry *new_dentry);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue