summaryrefslogtreecommitdiffstats
path: root/usr.bin/script/script.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-3/+3
2018-01-21add new '-c' option which runs a command instead of an interactive shelljasper1-11/+22
2017-04-12bluhm discovered "script < /dev/null" attempts tty operations in violationderaadt1-9/+16
2015-10-20add "proc" to pledge for script(1)semarie1-3/+3
2015-10-09Change all tame callers to namechange to pledge(2).deraadt1-5/+5
2015-10-07move from tame "ioctl" to tame "tty", which provides a better fit forderaadt1-2/+2
2015-10-04Repair tame() error check to be == -1deraadt1-2/+2
2015-10-03script is two processes. the main io-loop process can be locked down withderaadt1-1/+7
2015-07-19SIGCHLD handler was established before forking into two processes.deraadt1-4/+11
2015-03-15tzfile.h is an internal header that should never have been installed.millert1-3/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-14/+1
2005-12-12in the write codepaths, errors other than EAGAIN are fatal to the loop; ok ottoderaadt1-2/+6
2005-04-11use STDERR_FILENO; ok cloderderaadt1-3/+3
2004-12-19Block SIGALRM during write--we only want it to interrupt read().millert1-2/+7
2004-10-10use err/warn and __prognamemickey1-8/+9
2004-09-14ARGSUSED before signal handler with unused signoderaadt1-4/+8
2003-06-10mostly ansi cleanup; pval okderaadt1-16/+10
2003-06-03Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-9/+9
2001-11-18After a simplistic rewrite, signal flags were not being noticed until aderaadt1-48/+104
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduderaadt1-3/+3
2001-01-11comment on a real nasty racederaadt1-2/+3
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is amillert1-3/+3
2000-04-16Propagate window size changes to slave.espie1-2/+21
2000-03-22Make script give correct return values; adapted from FreeBSDericj1-13/+18
1998-12-19union wait is wrong; christosderaadt1-4/+4
1997-08-06save errno in mangly handlersderaadt1-2/+5
1997-08-04save errno in sigchld handlersderaadt1-2/+4
1997-07-25user err(3)mickey1-33/+5
1997-07-25#if __STDC__ --> #ifdef __STDC__mickey1-5/+5
1997-06-20Wallderaadt1-2/+5
1997-03-25exec with argv[0] as shell, not "sh"; era@iki.fideraadt1-3/+3
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!millert1-3/+3
1996-06-26rcsidderaadt1-1/+2
1995-10-18initial import of NetBSD treederaadt1-0/+273