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

From: James Morris
Date: Wed Jun 22 2005 - 21:09:15 EST


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;
> > }
> > _
>
> No, causes ppc32 warning.

Actually, this one's ok.


- James
--
James Morris
<jmorris@xxxxxxxxxx>


-
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/