From: Chris Wright (chrisw_at_osdl.org)
Date: Thu 13 Jan 2005 - 23:10:45 GMT
* Thomas Weber (l_vserver_at_mail2news.4t2.com) wrote:
> On Thu, Jan 13, 2005 at 02:06:50PM -0800, Chris Wright wrote:
> > * Thomas Weber (l_vserver_at_mail2news.4t2.com) wrote:
> > > if you have to try using capabilities in order to detect kernel support
> > > for it, wouldn't it be more usefull to have the capability system
> > > generate an entry in /proc (or /sys)? And no, I'm not a kernel hacker.
> >
> > /sys/module/capability/ will only exist if capability system is active
> > (for fairly recent 2.6 kernels).
>
> I've seen this, but will it exist even if it's compiled non modular?
Yes, that was what I meant by the caveat re: fairly recent 2.6 kernels.
Rusty added code such that statically built modules still populated
/sys/module/$mod/parameters or somesuch. It's not the best, but it's
something.
thanks,
-chris
-- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net _______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver