summaryrefslogtreecommitdiff
path: root/libfshelp
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-09 15:20:00 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-09 15:20:00 +0000
commit9ef23a8e7d59c1cf094aefd1d19f7ae4179a37b9 (patch)
tree6e9affe89a05198e9f20326de430b37c1685c8b6 /libfshelp
parentb1673e2ce2aedf3b9c58e26723885a90f69ffbfc (diff)
(fshelp_exec_reauth): Provide new third arg to proc_setowner.
Diffstat (limited to 'libfshelp')
-rw-r--r--libfshelp/exec-reauth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libfshelp/exec-reauth.c b/libfshelp/exec-reauth.c
index bbf8b618..e6009827 100644
--- a/libfshelp/exec-reauth.c
+++ b/libfshelp/exec-reauth.c
@@ -1,6 +1,6 @@
/* Setuid reauthentication for exec
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>,
from the original by Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
@@ -131,7 +131,7 @@ fshelp_exec_reauth (int suid, uid_t uid, int sgid, gid_t gid,
exec_reauth (newauth, _secure, 0, ports, num_ports, fds, num_fds);
if (eff_uids->num > 0)
- proc_setowner (ports[INIT_PORT_PROC], eff_uids->ids[0]);
+ proc_setowner (ports[INIT_PORT_PROC], eff_uids->ids[0], 0);
abandon_suid:
if (eff_uids)