Re: [RFC 1/1] seccomp: Add bitmask of allowed system calls.

From: Adam Langley
Date: Fri May 15 2009 - 16:29:31 EST


On Fri, May 15, 2009 at 12:56 PM, Pavel Machek <pavel@xxxxxx> wrote:
> If you allow setuid exec here, you have added a security hole. Deny
> setuid() to sendmail and have fun...

Good point there. If you have any seccomp enabled you shouldn't be
able to run suid binaries. Being able to deny random syscalls to suid
binaries is too scary.

If this patch ever goes anywhere I'll add that.


Thanks

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