On Thu, 29 Jan 2009, Serge E. Hallyn wrote: > Quoting James Morris (jmorris@xxxxxxxxx): > > Remove secondary ops call to file_mprotect, which is > > a noop in capabilities. > > > > Wrong patch? Ahh, older version of a wrongly described patch which ended up in the directory from where the patchset was sent (it's not in the local git repo). > > > Signed-off-by: James Morris <jmorris@xxxxxxxxx> > > --- > > security/selinux/hooks.c | 6 ------ > > 1 files changed, 0 insertions(+), 6 deletions(-) > > > > diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c > > index 7056570..99758ca 100644 > > --- a/security/selinux/hooks.c > > +++ b/security/selinux/hooks.c > > @@ -3212,12 +3212,6 @@ static int selinux_dentry_open(struct file *file, const struct cred *cred) > > > > static int selinux_task_create(unsigned long clone_flags) > > { > > - int rc; > > - > > - rc = secondary_ops->task_create(clone_flags); > > - if (rc) > > - return rc; > > - > > return current_has_perm(current, PROCESS__FORK); > > } > > > > -- > > 1.6.1 > > > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-security-module" in > > the body of a message to majordomo@xxxxxxxxxxxxxxx > > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- James Morris <jmorris@xxxxxxxxx> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.