mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 06:45:38 +00:00
Something to fix.
This commit is contained in:
@@ -57,7 +57,7 @@ Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
|||||||
+ int mode)
|
+ int mode)
|
||||||
+{
|
+{
|
||||||
+ struct nameidata nd = {
|
+ struct nameidata nd = {
|
||||||
+ .dentry = child,
|
+ .dentry = child, /* FIXME: should be the parent */,
|
||||||
+ .mnt = mnt,
|
+ .mnt = mnt,
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
@@ -125,7 +125,7 @@ Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
|||||||
int oflag, mode_t mode, struct mq_attr __user *u_attr)
|
int oflag, mode_t mode, struct mq_attr __user *u_attr)
|
||||||
{
|
{
|
||||||
+ struct nameidata nd = {
|
+ struct nameidata nd = {
|
||||||
+ .dentry = dentry,
|
+ .dentry = dentry, /* FIXME: should be the parent */,
|
||||||
+ /* Not a regular create, so set .mnt to NULL. */
|
+ /* Not a regular create, so set .mnt to NULL. */
|
||||||
+ };
|
+ };
|
||||||
struct mq_attr attr;
|
struct mq_attr attr;
|
||||||
|
Reference in New Issue
Block a user