Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144586655
D51703.1775567375.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
660 B
Referenced Files
None
Subscribers
None
D51703.1775567375.diff
View Options
Index: lib/libsys/chroot.2
===================================================================
--- lib/libsys/chroot.2
+++ lib/libsys/chroot.2
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd July 15, 2024
+.Dd August 2, 2025
.Dt CHROOT 2
.Os
.Sh NAME
@@ -61,7 +61,9 @@
.Fn chroot
has no effect on the process's current directory.
.Pp
-This call is restricted to the super-user.
+This call is restricted to the super-user, unless the
+.Ql security.bsd.unprivileged_chroot
+sysctl variable is set to 1..
.Pp
Depending on the setting of the
.Ql kern.chroot_allow_open_directories
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 7, 1:09 PM (10 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28295049
Default Alt Text
D51703.1775567375.diff (660 B)
Attached To
Mode
D51703: chroot.2: Update errors and unprivileged use
Attached
Detach File
Event Timeline
Log In to Comment