Re: [PATCH] Realtime LSM
From: Chris Wright
Date: Fri Oct 08 2004 - 17:11:44 EST
* Lee Revell (rlrevell@xxxxxxxxxxx) wrote:
> On Fri, 2004-10-08 at 17:52, Chris Wright wrote:
> > * Lee Revell (rlrevell@xxxxxxxxxxx) wrote:
> > > On Fri, 2004-10-08 at 17:45, Chris Wright wrote:
> > > > > --- linux-2.6.8.1/security/realtime.c Wed Dec 31 18:00:00 1969
> > > > > +++ linux-2.6.8.1-rt02/security/realtime.c Mon Oct 4 21:35:41 2004
> > > > > +static int any = 0; /* if TRUE, any process is realtime */
> > > >
> > > > unecessary init to 0
> > > >
> > >
> > > I think gcc 3.4 complains otherwise.
> >
> > Nah, it's fine.
> >
> > $ grep 'int any' security/realtime.c
> > static int any; /* if TRUE, any process is realtime */
> > $ make security/realtime.o
> > CC security/realtime.o
> > $ gcc --version
> > gcc (GCC) 3.4.2 20040907 (Red Hat 3.4.2-2)
>
> So MODULE_PARM_DESC is neccesary even when using module_param instear of
> MODULE_PARM?
YYeah, minor blemmish ;-)
thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/