summaryrefslogtreecommitdiffstats
path: root/usr.sbin/hotplugd
diff options
context:
space:
mode:
authorian <ian@openbsd.org>2004-12-25 20:05:43 +0000
committerian <ian@openbsd.org>2004-12-25 20:05:43 +0000
commitb3745705626b3a86bd9d530b6986043da0493837 (patch)
tree9c29ecc921b987ca4f4aacabf8b0b75562ed8233 /usr.sbin/hotplugd
parentstrncmp() the correct size when looking for ki2c companion. (diff)
downloadwireguard-openbsd-b3745705626b3a86bd9d530b6986043da0493837.tar.xz
wireguard-openbsd-b3745705626b3a86bd9d530b6986043da0493837.zip
More secure example
Diffstat (limited to 'usr.sbin/hotplugd')
-rw-r--r--usr.sbin/hotplugd/hotplugd.84
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/hotplugd/hotplugd.8 b/usr.sbin/hotplugd/hotplugd.8
index fd400566bdc..d94a0f523bc 100644
--- a/usr.sbin/hotplugd/hotplugd.8
+++ b/usr.sbin/hotplugd/hotplugd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hotplugd.8,v 1.1 2004/05/30 08:28:28 grange Exp $
+.\" $OpenBSD: hotplugd.8,v 1.2 2004/12/25 20:05:43 ian Exp $
.\"
.\" Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
.\"
@@ -99,7 +99,7 @@ case $DEVCLASS in
case $disklabel in
Sony*DSC*)
# Sony DSC camera
- mount /dev/"$DEVNAME"i /mnt/camera
+ mount -o nodev,nosuid /dev/"$DEVNAME"i /mnt/camera
;;
esac