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:
@@ -953,7 +953,7 @@ fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static int unix_mknod(struct dentry *dentry, struct path *path, umode_t mode,
|
||||
static int unix_mknod(struct dentry *dentry, const struct path *path, umode_t mode,
|
||||
struct path *res)
|
||||
{
|
||||
int err;
|
||||
|
Reference in New Issue
Block a user