mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue