Messages in this thread |  | | Date | Thu, 16 Nov 2000 23:56:15 +0100 | From | Matthias Andree <> | Subject | Re: Linux 2.2.18pre21 |
| |
On Thu, 16 Nov 2000, jesse wrote:
> But the problem is because you can call chroot when you're already chrooted.
It's a non-problem. chroot()ing again may also be used to de-escalate privileges, and if you want to prevent breaking out of a chroot, drop root privileges, since chroot is a privileged call. And DO USE setuid, not seteuid or something (otherwise the saved set-uid will bite you).
-- Matthias Andree - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |