Commit 056d331
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: Jeff Layton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>1 parent c6640d4 commit 056d331
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5036 | 5036 | | |
5037 | 5037 | | |
5038 | 5038 | | |
| 5039 | + | |
| 5040 | + | |
| 5041 | + | |
| 5042 | + | |
5039 | 5043 | | |
5040 | 5044 | | |
5041 | 5045 | | |
| |||
0 commit comments