Re: [PATCH] Add SELinux module to 2.6.0-test1

From: Greg KH (greg@kroah.com)
Date: Mon Jul 14 2003 - 14:16:25 EST


On Mon, Jul 14, 2003 at 03:05:04PM -0400, Stephen Smalley wrote:
> The patch available from
> http://www.nsa.gov/selinux/lk/2.6.0-test1-addselinux.patch.gz adds the
> SELinux module under security/selinux and modifies the security/Makefile
> and security/Kconfig files for SELinux.

Some minor coding style nits:
        - you are creating your own typedefs, please don't. Use the
          "struct foo" style instead.
        - you have a number of printk() calls without a logging level.
          Hm, looks like some of the functions doing this aren't ever
          called at all (avc_dump_cache() is one example)...
        - your function style should be changed to take advantage of the
          kerneldoc functionality. avc_lookup() is a good example of
          something that could benifit from this (don't put comments
          within a function declaration...)

Other than that, the coding style looks real good.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:53 EST