diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-01-30 12:17:38 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-01-30 12:17:38 +0000 |
| commit | 4e2d2aa1cd4f4f0351b1c984930edcdde311c296 (patch) | |
| tree | b7a48795d9967f095d3ec0a1a72925f21db011aa /sys/dev/rc | |
| parent | 871f5df0ef4736bad5a1d3445abbb12eb8754c30 (diff) | |
Notes
Diffstat (limited to 'sys/dev/rc')
| -rw-r--r-- | sys/dev/rc/rc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c index ae1108a8e1dae..a5d96ecf11ecf 100644 --- a/sys/dev/rc/rc.c +++ b/sys/dev/rc/rc.c @@ -766,7 +766,8 @@ again: goto again; } } - if (tp->t_state & TS_XCLUDE && p->p_ucred->cr_uid != 0) { + if (tp->t_state & TS_XCLUDE && + suser(p->p_ucred, &p->p_acflag)) { error = EBUSY; goto out; } |
