summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-04-27 12:21:16 +0000
committerphk <phk@FreeBSD.org>1999-04-27 12:21:16 +0000
commitc85ea5017c00c71172e6cfb5bd1cd171837b5812 (patch)
treeaca6b1fc91e0bab42a5779a3281ed2200865e0ec /sys/i386/linux
parenta6d35492b341c0b95e74bb23a0f1d29bdf6b9fa5 (diff)
downloadFreeBSD-src-c85ea5017c00c71172e6cfb5bd1cd171837b5812.zip
FreeBSD-src-c85ea5017c00c71172e6cfb5bd1cd171837b5812.tar.gz
Change suser_xxx() to suser() where it applies.
Diffstat (limited to 'sys/i386/linux')
-rw-r--r--sys/i386/linux/linux_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/linux/linux_misc.c b/sys/i386/linux/linux_misc.c
index 013882e..68a2d43 100644
--- a/sys/i386/linux/linux_misc.c
+++ b/sys/i386/linux/linux_misc.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_misc.c,v 1.54 1999/04/19 14:14:14 peter Exp $
+ * $Id: linux_misc.c,v 1.55 1999/04/27 11:15:32 phk Exp $
*/
#include <sys/param.h>
@@ -1134,7 +1134,7 @@ linux_setgroups(p, uap)
gid_t *bsd_gidset;
int ngrp, error;
- if ((error = suser_xxx(pc->pc_ucred, &p->p_acflag)))
+ if ((error = suser(p)))
return error;
if (uap->gidsetsize > NGROUPS)
OpenPOWER on IntegriCloud