Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2022 14:18:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        arch@FreeBSD.org
Subject:   [Bug 121073] [kernel] [patch] run chroot as an unprivileged user
Message-ID:  <bug-121073-24229-BwKtG7wkfh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-121073-24229@https.bugs.freebsd.org/bugzilla/>
References:  <bug-121073-24229@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D121073

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Closed
         Resolution|---                         |Overcome By Events

--- Comment #13 from Ed Maste <emaste@freebsd.org> ---
Implemented in:

commit a40cf4175c90142442d0c6515f6c83956336699b
Author: Edward Tomasz Napierala <trasz@FreeBSD.org>
Date:   Tue Jul 20 08:56:04 2021 +0000

    Implement unprivileged chroot

    This builds on recently introduced NO_NEW_PRIVS flag to implement
    unprivileged chroot, enabled by `security.bsd.unprivileged_chroot`.
    It allows non-root processes to chroot(2), provided they have the
    NO_NEW_PRIVS flag set.

    The chroot(8) utility gets a new flag, -n, which sets NO_NEW_PRIVS
    before chrooting.

    Reviewed By:    kib
    Sponsored By:   EPSRC
    Relnotes:       yes
    Differential Revision:  https://reviews.freebsd.org/D30130

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-121073-24229-BwKtG7wkfh>