diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2004-07-26 07:24:04 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2004-07-26 07:24:04 +0000 |
| commit | 56f21b9d74a516a6c2f67d09e1b6c588bfa54c6a (patch) | |
| tree | e24e86995427678a1313e8f62cc17f84bdcaf82b /sys/compat/linux/linux_misc.c | |
| parent | 726dc81dee1abe2bcaae749a9680a4693a4b451f (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
| -rw-r--r-- | sys/compat/linux/linux_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 2be8fdfa7416..15184f59ed43 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -998,7 +998,7 @@ linux_setgroups(struct thread *td, struct linux_setgroups_args *args) * Keep cr_groups[0] unchanged to prevent that. */ - if ((error = suser_cred(oldcred, PRISON_ROOT)) != 0) { + if ((error = suser_cred(oldcred, SUSER_ALLOWJAIL)) != 0) { PROC_UNLOCK(p); crfree(newcred); return (error); |
