Quoting James Morris (jmorris@xxxxxxxxx): > Remove secondary ops call to file_mprotect, which is > a noop in capabilities. > Wrong patch? > 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 -- 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.