diff options
author | Roland McGrath <roland@gnu.org> | 1999-09-22 22:38:31 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-09-22 22:38:31 +0000 |
commit | b8ea2554ccfa8702609f136b09b95df0d48edc4a (patch) | |
tree | f217454789f9900dfa535329d0950c503296ba8e /utils/login.c | |
parent | 08c3cdef94f28e70fbe0f15dd208f105f737b705 (diff) |
1999-09-23 Mark Kettenis <kettenis@gnu.org>
* login.c (main): Pass controlling terminal ID port to the child.
Diffstat (limited to 'utils/login.c')
-rw-r--r-- | utils/login.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/login.c b/utils/login.c index e3d7c4bc..275cfe52 100644 --- a/utils/login.c +++ b/utils/login.c @@ -696,6 +696,7 @@ main(int argc, char *argv[]) for (i = 0; i < INIT_PORT_MAX; i++) ports[i] = MACH_PORT_NULL; ports[INIT_PORT_PROC] = getproc (); + ports[INIT_PORT_CTTYID] = getcttyid (); ports[INIT_PORT_CRDIR] = getcrdir (); /* May be replaced below. */ ports[INIT_PORT_CWDIR] = getcwdir (); /* " */ |