2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-01 06:45:38 +00:00

Something to fix.

This commit is contained in:
Andreas Gruenbacher
2007-04-18 20:20:23 +00:00
parent 21adaaceb7
commit 9e4fa16dff

View File

@@ -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;