From fe30a6c7b5a460512a3afeff2619ab34cab1ba4c Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 19 Jan 1996 00:16:09 +0000 Subject: (fshelp_exec_reauth): Don't setgid the uids. --- libfshelp/exec-reauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libfshelp/exec-reauth.c') diff --git a/libfshelp/exec-reauth.c b/libfshelp/exec-reauth.c index 6ac38d5e..bbf8b618 100644 --- a/libfshelp/exec-reauth.c +++ b/libfshelp/exec-reauth.c @@ -77,7 +77,7 @@ fshelp_exec_reauth (int suid, uid_t uid, int sgid, gid_t gid, if (suid) err = idvec_setid (eff_uids, avail_uids, uid, &_secure); if (sgid && !err) - err = idvec_setid (eff_uids, avail_uids, gid, &_secure); + err = idvec_setid (eff_gids, avail_gids, gid, &_secure); if (err) goto abandon_suid; -- cgit v1.2.3