Updated from Linux LTS 3.10.21 to 3.10.22
This commit is contained in:
@@ -823,6 +823,7 @@ SYSCALL_DEFINE4(mq_open, const char __user *, u_name, int, oflag, umode_t, mode,
|
||||
error = ro;
|
||||
goto out;
|
||||
}
|
||||
audit_inode_parent_hidden(name, root);
|
||||
filp = do_create(ipc_ns, root->d_inode,
|
||||
&path, oflag, mode,
|
||||
u_attr ? &attr : NULL);
|
||||
@@ -868,6 +869,7 @@ SYSCALL_DEFINE1(mq_unlink, const char __user *, u_name)
|
||||
if (IS_ERR(name))
|
||||
return PTR_ERR(name);
|
||||
|
||||
audit_inode_parent_hidden(name, mnt->mnt_root);
|
||||
err = mnt_want_write(mnt);
|
||||
if (err)
|
||||
goto out_name;
|
||||
|
||||
Reference in New Issue
Block a user