Page MenuHomeFreeBSD

D52242.diff
No OneTemporary

D52242.diff

diff --git a/share/man/man9/make_dev.9 b/share/man/man9/make_dev.9
--- a/share/man/man9/make_dev.9
+++ b/share/man/man9/make_dev.9
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd January 19, 2025
+.Dd August 29, 2025
.Dt MAKE_DEV 9
.Os
.Sh NAME
@@ -164,6 +164,15 @@
.Fa si_cred
member of the initialized
.Fa struct cdev .
+The
+.Fa si_cred
+member will be exposed to the
+.Xr mac 9
+framework and used to limit visibility of the device in jailed views of
+.Xr devfs 4 .
+Note that jailed processes with access to the controlling terminal will be
+allowed to view the device corresponding to its controlling
+.Xr tty 4 .
.Pp
The
.Va args.mda_flags
@@ -463,6 +472,7 @@
.Sh SEE ALSO
.Xr devctl 4 ,
.Xr devfs 4 ,
+.Xr tty 4 ,
.Xr dev_clone 9
.Sh HISTORY
The

File Metadata

Mime Type
text/plain
Expires
Sun, May 17, 4:49 PM (10 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33199412
Default Alt Text
D52242.diff (844 B)

Event Timeline