From: daw@mozart.cs.berkeley.edu (David Wagner)
To: linux-kernel@vger.kernel.org
Subject: Re: more thoughts on a new jail() system call
Date: 19 Jul 2002 03:23:04 GMT [thread overview]
Message-ID: <ah80mo$53t$1@abraham.cs.berkeley.edu> (raw)
In-Reply-To: 200207190306.g6J366956014@saturn.cs.uml.edu
Albert D. Cahalan wrote:
>>> sys_olduname) - P
>>
>> I'd argue that this should be restricted, on general
>> principles. (General principle: A jailed process shouldn't
>> be able to learn anything about the host it's running on.)
>
>Learning this info is easy enough without a syscall.
>You only cause trouble for legit usage.
Ok. To be clear, I consider this minor and probably
unimportant for security, hence just allowing this is
probably reasonable.
That said, is it really true that you can learn the
hostname and the like without a syscall? How?
>No, sys_getcwd will return info based on your current root.
>After chroot and all, your "/" is the top of your jail.
Ahh, I feel stupid for overlooking that. You're
absolutely right. Thanks for the correction.
next prev parent reply other threads:[~2002-07-19 3:35 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 [this message]
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
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='ah80mo$53t$1@abraham.cs.berkeley.edu' \
--to=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