Module Name:    src
Committed By:   uwe
Date:           Tue May 17 11:41:41 UTC 2022

Modified Files:
        src/etc: MAKEDEV.tmpl

Log Message:
MAKEDEV.tmpl: make /dev/wsfont world-readable

Now that we have WSDISPLAYIO_LISTFONTS we want users to be able to use it.

NB: older kernels didn't check that WSDISPLAYIO_LDFONT was performed
on wsfont(4) device opened for writing and relied on its restrictive
root-only permissions to restrict who can load fonts.


To generate a diff of this commit:
cvs rdiff -u -r1.229 -r1.230 src/etc/MAKEDEV.tmpl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/MAKEDEV.tmpl
diff -u src/etc/MAKEDEV.tmpl:1.229 src/etc/MAKEDEV.tmpl:1.230
--- src/etc/MAKEDEV.tmpl:1.229	Fri Apr  8 10:17:52 2022
+++ src/etc/MAKEDEV.tmpl	Tue May 17 11:41:41 2022
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#	$NetBSD: MAKEDEV.tmpl,v 1.229 2022/04/08 10:17:52 andvar Exp $
+#	$NetBSD: MAKEDEV.tmpl,v 1.230 2022/05/17 11:41:41 uwe Exp $
 #
 # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1729,7 +1729,7 @@ altq)
 	;;
 
 wsfont)
-	mkdev wsfont c %wsfont_chr% 0
+	mkdev wsfont c %wsfont_chr% 0 644
 	;;
 
 cir[0-9]*)

Reply via email to