From a5626338bf8e77f01adc5e828471077e546b7ff8 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 11 Aug 1996 23:26:09 +0000 Subject: limit ioctl priviledges --- sys/scsi/ss.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/scsi/ss.c') diff --git a/sys/scsi/ss.c b/sys/scsi/ss.c index 958f2c2f70d..84e6f414554 100644 --- a/sys/scsi/ss.c +++ b/sys/scsi/ss.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ss.c,v 1.7 1996/07/30 11:04:08 deraadt Exp $ */ +/* $OpenBSD: ss.c,v 1.8 1996/08/11 23:26:05 deraadt Exp $ */ /* $NetBSD: ss.c,v 1.10 1996/05/05 19:52:55 christos Exp $ */ /* @@ -480,7 +480,8 @@ ssioctl(dev, cmd, addr, flag, p) default: if (SSMODE(dev) != MODE_CONTROL) return (ENOTTY); - return (scsi_do_ioctl(ss->sc_link, dev, cmd, addr, flag, p)); + return (scsi_do_safeioctl(ss->sc_link, dev, cmd, addr, + flag, p)); } return (error); } -- cgit v1.2.3