Re: [PATCH 2/3] Security: Implement disablenetwork semantics. (v4)

From: James Morris
Date: Sun Jan 10 2010 - 16:14:37 EST


On Fri, 1 Jan 2010, Pavel Machek wrote:

> > Quoting Michael Stone (michael@xxxxxxxxxx):
> > > Implement security_* hooks for socket_create, socket_bind, socket_connect,
> > > socket_sendmsg, and ptrace_access_check which return -EPERM when called from a
> > > process with networking restrictions. Exempt AF_UNIX sockets.
> > >
> > > Signed-off-by: Michael Stone <michael@xxxxxxxxxx>
> >
> > Acked-by: Serge Hallyn <serue@xxxxxxxxxx>
>
> For the record: NAK, as it introduces security holes.

Please elaborate.


--
James Morris
<jmorris@xxxxxxxxx>
--
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/