mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
update Signed-off-by
This commit is contained in:
parent
b40238fefe
commit
51c0b3d60c
12 changed files with 15 additions and 5 deletions
|
@ -6,7 +6,7 @@ This is the same as d_path() except for the root where the search ends. Add
|
|||
a function for computing the namespace-relative path.
|
||||
|
||||
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
||||
Reviewed-by: John Johansen <jjohansen@suse.de>
|
||||
Signed-off-by: John Johansen <jjohansen@suse.de>
|
||||
|
||||
---
|
||||
fs/dcache.c | 6 +++---
|
||||
|
|
|
@ -5,6 +5,7 @@ Switch from file_permission() to vfs_permission() in do_path_lookup():
|
|||
this avoids calling permission() with a NULL nameidata here.
|
||||
|
||||
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
||||
Signed-off-by: John Johansen <jjohansen@suse.de>
|
||||
|
||||
---
|
||||
fs/namei.c | 13 ++++++-------
|
||||
|
|
|
@ -6,6 +6,7 @@ everywhere, so fix file_permission() to not use a NULL nameidata
|
|||
for the remaining users.
|
||||
|
||||
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
||||
Signed-off-by: John Johansen <jjohansen@suse.de>
|
||||
|
||||
---
|
||||
fs/namei.c | 8 +++++++-
|
||||
|
|
|
@ -12,6 +12,7 @@ Fix this by grabbing the vfsmount_lock when the first mount point is reached,
|
|||
and holding onto it until the d_cache lookup is completed.
|
||||
|
||||
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
||||
Signed-off-by: John Johansen <jjohansen@suse.de>
|
||||
|
||||
---
|
||||
fs/dcache.c | 14 ++++++++------
|
||||
|
|
|
@ -8,6 +8,7 @@ Note that confining nfsd with AppArmor makes no sense, and so this
|
|||
patch is not necessary for AppArmor alone.
|
||||
|
||||
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
||||
Signed-off-by: John Johansen <jjohansen@suse.de>
|
||||
|
||||
---
|
||||
fs/nfsd/vfs.c | 9 +++++++--
|
||||
|
|
|
@ -5,6 +5,7 @@ Set the LOOKUP_CONTINUE flag when checking parent permissions. This allows
|
|||
permission functions to tell between parent and leaf checks.
|
||||
|
||||
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
||||
Signed-off-by: John Johansen <jjohansen@suse.de>
|
||||
|
||||
---
|
||||
fs/namei.c | 6 ++++++
|
||||
|
|
|
@ -53,10 +53,10 @@ file_permission-nameidata.diff
|
|||
# # proc-mounts-cleanup.diff
|
||||
# # proc-mounts-check-d_path-result.diff
|
||||
# # fix-d_path.diff
|
||||
split-up-nameidata.diff
|
||||
vfs_create-nameidata.diff
|
||||
xattr_permission.diff
|
||||
nfsd_permission-nameidata.diff
|
||||
##split-up-nameidata.diff
|
||||
##vfs_create-nameidata.diff
|
||||
##xattr_permission.diff
|
||||
##nfsd_permission-nameidata.diff
|
||||
# vfs_create-args.diff
|
||||
# vfs_mknod-args.diff
|
||||
# vfs_mkdir-args.diff
|
||||
|
|
|
@ -14,6 +14,7 @@ sense independent of an actual lookup, and uses that struct in those
|
|||
places where a full nameidat is not needed.
|
||||
|
||||
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
||||
Signed-off-by: John Johansen <jjohansen@suse.de>
|
||||
|
||||
---
|
||||
fs/9p/vfs_inode.c | 4 +--
|
||||
|
|
|
@ -5,6 +5,7 @@ Switch from file_permission() to vfs_permission() in sys_fchdir(): this
|
|||
avoids calling permission() with a NULL nameidata here.
|
||||
|
||||
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
||||
Signed-off-by: John Johansen <jjohansen@suse.de>
|
||||
|
||||
---
|
||||
fs/open.c | 16 +++++++---------
|
||||
|
|
|
@ -21,6 +21,7 @@ except for bind-mounted directories; for them, it reports ``/foo/bar'' instead
|
|||
of ``foobar'' in the example described above.
|
||||
|
||||
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
||||
Signed-off-by: John Johansen <jjohansen@suse.de>
|
||||
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
|
||||
|
||||
---
|
||||
|
|
|
@ -5,6 +5,7 @@ Create a nameidata2 struct in nfsd and mqueue so that vfs_create does
|
|||
need to conditionally pass the vfsmnt.
|
||||
|
||||
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
||||
Signed-off-by: John Johansen <jjohansen@suse.de>
|
||||
|
||||
---
|
||||
fs/namei.c | 2 +-
|
||||
|
|
|
@ -5,6 +5,7 @@ Create nameidata2 struct xattr_permission so that it does not pass NULL
|
|||
to permission.
|
||||
|
||||
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
||||
Signed-off-by: John Johansen <jjohansen@suse.de>
|
||||
|
||||
---
|
||||
fs/xattr.c | 18 +++++++++++++-----
|
||||
|
|
Loading…
Add table
Reference in a new issue