Re: [PATCH v2] fs.h: ifdef security fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-08-02 at 19:14 +0400, Alexey Dobriyan wrote:
> > > --- a/include/linux/fs.h
> > > +++ b/include/linux/fs.h
> > > @@ -552,7 +552,9 @@ struct inode {
> > >  	unsigned int		i_flags;
> > >
> > >  	atomic_t		i_writecount;
> > > +#ifdef CONFIG_SECURITY
> > >  	void			*i_security;
> > > +#endif
> > >  	union {
> > >  		void		*generic_ip;
> > >  	} u;
> > > @@ -688,8 +690,9 @@ struct file {
> > >  	struct file_ra_state	f_ra;
> > >
> > >  	unsigned long		f_version;
> > > +#ifdef CONFIG_SECURITY_SELINUX
> >
> > This should just be CONFIG_SECURITY.
> 
> After another user appear.

I see.  Well, if that's the rationale, I thought that seclvl was also
scheduled for removal in 2.6.18 with the agreement of its maintainer, so
that would also apply to i_security.

-- 
Stephen Smalley
National Security Agency

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux