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

From: Lorenzo Hernández García-Hierro
Date: Wed Jun 22 2005 - 21:50:58 EST


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 <lorenzo@xxxxxxx>
[1024D/6F2B2DEC] & [2048g/9AE91A22][http://tuxedo-es.org]

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