[lkml]   [2002]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: can chroot be made safe for non-root?
>I am eager to be able to sandbox my processes on a system without the
>help of suid-root programs (as I prefer to have none of these on my

>Would it be reasonable to allow non-root processes to chroot(), if the
>chroot syscall also changed the cwd for non-root processes?
You might want to look into systrace, see

Sandboxing your own applications does not require special privileges.
Policy generation is intuitive and interactive. Thats means you can
generate your policies on the fly without complete knowledge of the
exact code paths an application takes. (I run all my 3rd-party
software and most system daemons under systrace)

Policy violations are reported and can be resolved directly in
interactive mode.

To avoid setuid-root programs, systrace supports Privilege Elevation.

This is a novel feature that allows you to run an application without
special privileges. The policy can momentarily elevate the privileges
of the application, for example to bind a reserved port or to create a
raw socket. Basically, it allows as fine grained capabilities as

The Linux port is basically finished and should appear on the web page
in the next couple days.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:30    [W:0.036 / U:28.740 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site