Skip to content
Unverified Commit 056d3313 authored by Jeff Layton's avatar Jeff Layton Committed by Christian Brauner
Browse files

fs: prepend statmount.mnt_opts string with security_sb_mnt_opts()



Currently these mount options aren't accessible via statmount().

The read handler for /proc/#/mountinfo calls security_sb_show_options()
to emit the security options after emitting superblock flag options, but
before calling sb->s_op->show_options.

Have statmount_mnt_opts() call security_sb_show_options() before
calling ->show_options.

Signed-off-by: default avatarJeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20241115-statmount-v2-2-cd29aeff9cbb@kernel.org


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent c6640d46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment