Research
Skip Research Menus
Research MenuSecurity Enhanced Linux What's New Frequently Asked Questions Background Documents License Download Participating Mail List Archives Remaining Work Contributors Related Work Press Releases Information Assurance Research NIARL In-house Research Areas Mathematical Sciences Program Sabbaticals Computer & Information Sciences Research Technology Transfer Advanced Computing Advanced Mathematics Communications & Networking Information Processing Microelectronics Other Technologies Technology Fact Sheets Publications Related Links |
SELinux Mailing ListRe: [PATCH 2/2] NFS: use new LSM interfaces to explicitly set mount options
From: Eric Paris <eparis_at_redhat.com>
Date: Wed, 05 Mar 2008 13:58:08 -0500
On Wed, 2008-03-05 at 13:25 -0500, Trond Myklebust wrote:
> > @@ -1214,6 +1232,32 @@ static int nfs_validate_mount_data(void *options, No good reason not to make sure since we know the size of the static context array. I just assumed NFS was doing checks on the hostname and the context array the same way to make sure they were both valid. I'll send a new patch which uses strncat.
> > + rc = security_sb_parse_opts_str(opts_str, &args->lsm_opts); If someone used context= with the binary data interface the kernel needs to tell them that it didn't understand. It's really no different than nfs_parse_mount_options() having the out_unknown error case instead of just ignoring unknown. If they used the text interface they would fail on the out_unknown case if !CONFIG_SELINUX.
> > +#endif -- 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.Received on Wed 5 Mar 2008 - 13:59:32 EST |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |