summaryrefslogtreecommitdiff
path: root/utils/login.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-20 19:44:31 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-20 19:44:31 +0000
commit70c27d327f0223923026f88486cccea85b1bdfde (patch)
treecd59dc1b36ff01d0ef1be160ca44edd9dacfec68 /utils/login.c
parenta503ec530f4f66e3889bc20f93e3aec8a530e7b3 (diff)
(main): No need for EXEC_NEWTASK or EXEC_SECURE.
Diffstat (limited to 'utils/login.c')
-rw-r--r--utils/login.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/login.c b/utils/login.c
index 82ca9ea0..02d64799 100644
--- a/utils/login.c
+++ b/utils/login.c
@@ -990,8 +990,7 @@ main(int argc, char *argv[])
}
}
- err = file_exec (exec, mach_task_self (),
- EXEC_NEWTASK | EXEC_DEFAULTS | EXEC_SECURE,
+ err = file_exec (exec, mach_task_self (), EXEC_DEFAULTS,
sh_args, sh_args_len, env, env_len,
fds, MACH_MSG_TYPE_COPY_SEND, 3,
ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,