Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/etc/etc.x68k Pull up revision 1.21:
details: https://anonhg.NetBSD.org/src/rev/89ea68ff1816
branches: netbsd-1-4
changeset: 469311:89ea68ff1816
user: he <he%NetBSD.org@localhost>
date: Sun Aug 29 15:52:01 1999 +0000
description:
Pull up revision 1.21:
Since we now use Xwrapper to start the X server, we can restrict
non-root access to grf, mouse and kbd, closing a potenticl security
hole. (minoura)
diffstat:
etc/etc.x68k/MAKEDEV | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 82dd58d14f46 -r 89ea68ff1816 etc/etc.x68k/MAKEDEV
--- a/etc/etc.x68k/MAKEDEV Sun Aug 29 11:26:58 1999 +0000
+++ b/etc/etc.x68k/MAKEDEV Sun Aug 29 15:52:01 1999 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.20 1999/01/16 01:40:30 abs Exp $
+# $NetBSD: MAKEDEV,v 1.20.2.1 1999/08/29 15:52:01 he Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -345,7 +345,7 @@
rm -f grf${unit}
case $unit in
0|1)
- mknod grf${unit} c 10 ${unit}; chmod 666 grf${unit}
+ mknod grf${unit} c 10 ${unit}; chmod 600 grf${unit}
;;
*)
echo bad unit for grf in: $i
@@ -358,7 +358,7 @@
rm -f mouse${unit}
case $unit in
0|1)
- mknod mouse${unit} c 15 ${unit}; chmod 666 mouse${unit}
+ mknod mouse${unit} c 15 ${unit}; chmod 600 mouse${unit}
if [ $unit = 0 ]
then
rm -f mouse; ln -s mouse${unit} mouse
@@ -373,6 +373,7 @@
kbd)
rm -f kbd
mknod kbd c 14 0
+ chmod 600 kbd
;;
Home |
Main Index |
Thread Index |
Old Index