Re: [PATCH] securityfs

Greg KH
2005-07-06T22:29:47Z

On Wed, Jul 06, 2005 at 05:08:35PM -0500, serue@us.ibm.com wrote:
> Quoting Greg KH (greg@kroah.com):
> > think it could be made even smaller if you use the default read and
> > write file type functions in libfs (look at the debugfs wrappers of them
> > for u8, u16, etc, for examples of how to use them.)
>
> The attached patch cleans up the securelevel code for the seclvl file.
> Is this a reasonable way to go about this?

No.

> Or is there a better way to do this?

Look at how debugfs uses the libfs code. We should not need to add
these handlers to securityfs.

thanks,

greg k-h