Page MenuHomeFreeBSD

D51703.1775567375.diff
No OneTemporary

Size
660 B
Referenced Files
None
Subscribers
None

D51703.1775567375.diff

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

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)

Event Timeline