NetBSD/bin/sh
christos 6f48233483 Deal with rootshell not being maintained correctly in the vfork() case.
Propagate isroot, throughout the eval process and maintain it properly.
Fixes sleep 10 | cat^C not exiting because sleep and cat ended up in
their own process groups, because wasroot was always true in the children.
2002-09-27 22:56:24 +00:00
..
bltin Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
funcs
alias.c
alias.h
arith_lex.l
arith.y remove redundant declaration of yyparse, and move code to the bottom of 2001-02-04 19:51:43 +00:00
builtins.def
cd.c Plug a memory leak when setting PWD -- don't mark the variable with 2001-11-14 18:04:36 +00:00
cd.h
error.c Clean up INTOFF/INTON usage a little -- none of fork{shell,parent,child}() 2002-09-27 21:32:24 +00:00
error.h remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
eval.c Deal with rootshell not being maintained correctly in the vfork() case. 2002-09-27 22:56:24 +00:00
eval.h Deal with rootshell not being maintained correctly in the vfork() case. 2002-09-27 22:56:24 +00:00
exec.c VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
exec.h VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
expand.c Deal with rootshell not being maintained correctly in the vfork() case. 2002-09-27 22:56:24 +00:00
expand.h
histedit.c get rid of sp completely, we were free-ing a bogus pointer; found by simonb. 2002-03-12 00:14:31 +00:00
init.h
input.c VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
input.h VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
jobs.c Deal with rootshell not being maintained correctly in the vfork() case. 2002-09-27 22:56:24 +00:00
jobs.h Deal with rootshell not being maintained correctly in the vfork() case. 2002-09-27 22:56:24 +00:00
machdep.h
mail.c
mail.h
main.c Deal with rootshell not being maintained correctly in the vfork() case. 2002-09-27 22:56:24 +00:00
main.h
Makefile Use "unsigned char" and "char" instead of "u_int8_t" and "int8_t" 2002-09-15 00:19:22 +00:00
memalloc.c
memalloc.h
miscbltin.c remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
miscbltin.h
mkbuiltins
mkinit.c
mknodes.c __STDC__ is always defined on NetBSD, so remove #ifdef __STDC__ (and 2002-05-25 23:09:06 +00:00
mksyntax.c deal with char c; c != -129 warning. Hi jason! 2002-05-31 16:18:48 +00:00
mktokens
myhistedit.h
mystring.c
mystring.h
nodes.c.pat
nodetypes implement noclobber. From Ben Harris, with minor tweaks from me. Two 2002-05-15 16:33:35 +00:00
options.c Fix command name in error message for 'sh nonexistingfile'. 2001-02-26 13:06:43 +00:00
options.h remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
output.c __STDC__ is always defined on NetBSD, so remove #ifdef __STDC__ (and 2002-05-25 23:09:06 +00:00
output.h __STDC__ is always defined on NetBSD. 2002-05-25 23:12:16 +00:00
parser.c implement noclobber. From Ben Harris, with minor tweaks from me. Two 2002-05-15 16:33:35 +00:00
parser.h
redir.c Deal with rootshell not being maintained correctly in the vfork() case. 2002-09-27 22:56:24 +00:00
redir.h VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
sh.1 New policy: New sentences start on a new line. 2002-09-25 15:18:36 +00:00
shell.h VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
show.c __STDC__ is always defined on NetBSD, so remove #ifdef __STDC__ (and 2002-05-25 23:09:06 +00:00
show.h
TOUR
trap.c VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
trap.h VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
var.c VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
var.h VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00