mqueue: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -108,7 +108,7 @@ static struct ipc_namespace *get_ns_from_inode(struct inode *inode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct inode *mqueue_get_inode(struct super_block *sb,
|
static struct inode *mqueue_get_inode(struct super_block *sb,
|
||||||
struct ipc_namespace *ipc_ns, int mode,
|
struct ipc_namespace *ipc_ns, umode_t mode,
|
||||||
struct mq_attr *attr)
|
struct mq_attr *attr)
|
||||||
{
|
{
|
||||||
struct user_struct *u = current_user();
|
struct user_struct *u = current_user();
|
||||||
|
Reference in New Issue
Block a user