From: Shaya Potter <spotter@cs.columbia.edu>
To: David Wagner <daw@mozart.cs.berkeley.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: more thoughts on a new jail() system call
Date: 19 Jul 2002 18:48:35 -0400 [thread overview]
Message-ID: <1027118916.2635.132.camel@zaphod> (raw)
In-Reply-To: <ah7m2r$3cr$1@abraham.cs.berkeley.edu>
On Thu, 2002-07-18 at 20:21, David Wagner wrote:
> Shaya Potter wrote:
> >sys_mknod) J - Need FIFO ability, everything else not.
>
> Beware the ability to pass file descriptors across Unix
> domain sockets. This should probably be restricted somehow.
> Along similar lines, you didn't mention sendmsg() and
> recvmsg(), but the fd-passing parts should probably be
> restricted.
not sure there has to be anything restricted, more so than the
filesystem restrictions already. As from what I can tell from Stevens
there are 2 ways to pass a fd over an AF_UNIX socket. either socketpair
(parent/child relationship i.e. both in jail) or a named socket, which
then its constrained to the jailed FS, and therefore only processes in
that particular jail have access to it.
or am I wrong?
thanks,
shaya potter
prev parent reply other threads:[~2002-07-19 22:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-18 2:26 more thoughts on a new jail() system call Shaya Potter
2002-07-18 2:30 ` Shaya Potter
2002-07-19 0:21 ` David Wagner
2002-07-19 2:08 ` Thunder from the hill
2002-07-19 4:18 ` James Antill
2002-07-19 4:55 ` Thunder from the hill
2002-07-19 7:48 ` James Antill
2002-07-19 3:06 ` Albert D. Cahalan
2002-07-19 3:23 ` David Wagner
2002-07-19 16:35 ` Shaya Potter
2002-07-19 21:10 ` Shaya Potter
2002-07-19 7:46 ` Ville Herva
2002-07-19 16:24 ` Shaya Potter
2002-07-19 16:34 ` Shaya Potter
2002-07-19 22:48 ` Shaya Potter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1027118916.2635.132.camel@zaphod \
--to=spotter@cs.columbia.edu \
--cc=daw@mozart.cs.berkeley.edu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox