aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorJohn Johansen <[email protected]>2023-09-10 10:35:22 +0000
committerJohn Johansen <[email protected]>2023-10-18 23:01:32 +0000
commit157a3537d6bc28ceb9a11fc8cb67f2152d860146 (patch)
tree2fcb30f046abf48c7299c872c7705384c5915b68 /scripts/mod/file2alias.c
parentapparmor: cache buffers on percpu list if there is lock contention (diff)
downloadkernel-157a3537d6bc28ceb9a11fc8cb67f2152d860146.tar.gz
kernel-157a3537d6bc28ceb9a11fc8cb67f2152d860146.zip
apparmor: Fix regression in mount mediation
commit 2db154b3ea8e ("vfs: syscall: Add move_mount(2) to move mounts around") introduced a new move_mount(2) system call and a corresponding new LSM security_move_mount hook but did not implement this hook for any existing LSM. This creates a regression for AppArmor mediation of mount. This patch provides a base mapping of the move_mount syscall to the existing mount mediation. In the future we may introduce additional mediations around the new mount calls. Fixes: 2db154b3ea8e ("vfs: syscall: Add move_mount(2) to move mounts around") CC: [email protected] Reported-by: Andreas Steinmetz <[email protected]> Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions