Re: [patch 1/1] selinux: minor cleanup in the hooks.c:file_map_prot_check() code

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

 



El mié, 22-06-2005 a las 22:03 -0400, James Morris escribió:
> On Wed, 22 Jun 2005, James Morris wrote:
> 
> > > @@ -2485,7 +2487,7 @@ static int selinux_file_mprotect(struct 
> > >  		 * check ability to execute the possibly modified content.
> > >  		 * This typically should only occur for text relocations.
> > >  		 */
> > > -		int rc = file_has_perm(current, vma->vm_file, FILE__EXECMOD);
> > > +		rc = file_has_perm(current, vma->vm_file, FILE__EXECMOD);
> > >  		if (rc)
> > >  			return rc;
> > >  	}
> > > _
> > 
> Actually, this one's ok.

OK, thanks. I'll wait for Stephen to review it and then decide what to
do.

Cheers,
-- 
Lorenzo Hernández García-Hierro <[email protected]>
[1024D/6F2B2DEC] & [2048g/9AE91A22][http://tuxedo-es.org]

Attachment: signature.asc
Description: This is a digitally signed message part


[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