Re: [PATCH v5 7/8] vfs: Replace security_sb_mount/security_move_mount with granular hooks

From
Song Liu <song@kernel.org>
Date
2026-06-03 15:43:00
Also in
linux-fsdevel, selinux
Reply to
Song Liu, 2026-05-28
Hi Christian,

On Thu, May 28, 2026 at 11:26 AM Song Liu [off-list ref] wrote:
Replace the monolithic security_sb_mount() call in path_mount() and
security_move_mount() in vfs_move_mount() with the new granular mount
hooks:

- do_loopback(): call security_mount_bind()
- do_new_mount(): call security_mount_new()
- do_remount(): call security_mount_remount()
- do_reconfigure_mnt(): call security_mount_reconfigure()
- do_move_mount_old(): call security_mount_move()
- do_change_type(): call security_mount_change_type()
- vfs_move_mount(): replace security_move_mount() with
  security_mount_move()
Does this version look good to you?

Thanks,
Song
Thread (15 messages) 15 messages, 2 authors, last reply 2026-06-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help