Files
erofs-linux/security/apparmor/include
John Johansen 157a3537d6 apparmor: Fix regression in mount mediation
commit 2db154b3ea ("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: 2db154b3ea ("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]>
2023-10-18 16:01:32 -07:00
..
2023-10-18 15:58:49 -07:00
2023-10-18 15:58:49 -07:00
…
2023-10-18 15:30:47 -07:00
2023-10-18 15:30:47 -07:00
2023-10-18 15:58:49 -07:00