2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +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)
+{
+ struct nameidata nd = {
+ .dentry = child,
+ .dentry = child, /* FIXME: should be the parent */,
+ .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)
{
+ struct nameidata nd = {
+ .dentry = dentry,
+ .dentry = dentry, /* FIXME: should be the parent */,
+ /* Not a regular create, so set .mnt to NULL. */
+ };
struct mq_attr attr;