summaryrefslogtreecommitdiff
path: root/Documentation/security
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2022-02-02 13:55:29 +0100
committerPaul Moore <paul@paul-moore.com>2022-02-04 13:40:15 -0500
commit70f4169ab421b277caf7429e84f468d8c47aa00a (patch)
tree4d059d7be87344b94d82c704ee15d99a26762eec /Documentation/security
parent0e326df069802dc48e4f095f889cb780e4beaba6 (diff)
selinux: parse contexts for mount options early
Commit b8b87fd954b4 ("selinux: Fix selinux_sb_mnt_opts_compat()") started to parse mount options into SIDs in selinux_add_opt() if policy has already been loaded. Since it's extremely unlikely that anyone would depend on the ability to set SELinux contexts on fs_context before loading the policy and then mounting that context after simplify the logic by always parsing the options early. Note that the multi-step mounting is only possible with the new fscontext mount API and wasn't possible before its introduction. Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'Documentation/security')
0 files changed, 0 insertions, 0 deletions