diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-12-27 16:28:31 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-12-27 16:28:31 +0000 |
commit | 4459bf4da18e54032b2376b62c629056a607c363 (patch) | |
tree | f64943792786e4bfe5ff6e744052a5bf399694c0 | |
parent | c2502c00eaf37c6d304f2c970c5ce899f65215aa (diff) | |
download | FreeBSD-src-4459bf4da18e54032b2376b62c629056a607c363.zip FreeBSD-src-4459bf4da18e54032b2376b62c629056a607c363.tar.gz |
Remove S_IROTH from the make_dev() lines for iir-related devices. This
improves protection consistency with other storage devices (generally
root:operator,660). This driver appears not to have an active
maintainer.
Submitted by: kris
-rw-r--r-- | sys/dev/iir/iir_ctrl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/iir/iir_ctrl.c b/sys/dev/iir/iir_ctrl.c index cd3273d..1b3fc16 100644 --- a/sys/dev/iir/iir_ctrl.c +++ b/sys/dev/iir/iir_ctrl.c @@ -105,12 +105,12 @@ gdt_make_dev(int unit) #ifdef SDEV_PER_HBA dev = make_dev(&iir_cdevsw, hba2minor(unit), UID_ROOT, GID_OPERATOR, - S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, "iir%d", unit); + S_IRUSR | S_IWUSR | S_IRGRP, "iir%d", unit); #else if (sdev_made) return (0); dev = make_dev(&iir_cdevsw, 0, UID_ROOT, GID_OPERATOR, - S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, "iir"); + S_IRUSR | S_IWUSR | S_IRGRP, "iir"); sdev_made = 1; #endif return (dev); |