Re: [PATCH] Realtime LSM

Lee Revell
2004-10-08T22:07:42Z

On Fri, 2004-10-08 at 17:52, Chris Wright wrote:
> * Lee Revell (rlrevell@joe-job.com) 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?

Lee