| Main Archive Page > Month Archives > selinux archives |
> Adds security_get_sb_mnt_opts, security_set_sb_mnt_opts, and
> security_clont_sb_mnt_opts to the LSM and to SELinux. This is in
> preparation for NFS to be able to own its own mount options and remove
> the NFS specific code from SELinux.
What is the purpose of security_clone_sb_mnt_opts? I see where it is being used, but it's not clear to me why it is necessary. The old SELinux code doesn't clone the options, it filters out the ones it cares about. If that is the behavior you'd expect of this hook, I suggest the name reflect that, perhaps security_filter_sb_mnt_opts.
Casey Schaufler
casey@schaufler-ca.com
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.