summaryrefslogtreecommitdiff
path: root/usr.bin/script/script.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-01-21add new '-c' option which runs a command instead of an interactive shellJasper Lievisse Adriaanse
2017-04-12bluhm discovered "script < /dev/null" attempts tty operations in violationTheo de Raadt
2015-10-20add "proc" to pledge for script(1)Sebastien Marie
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07move from tame "ioctl" to tame "tty", which provides a better fit forTheo de Raadt
2015-10-04Repair tame() error check to be == -1Theo de Raadt
2015-10-03script is two processes. the main io-loop process can be locked down withTheo de Raadt
2015-07-19SIGCHLD handler was established before forking into two processes.Theo de Raadt
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2005-12-12in the write codepaths, errors other than EAGAIN are fatal to the loop; ok ottoTheo de Raadt
2005-04-11use STDERR_FILENO; ok cloderTheo de Raadt
2004-12-19Block SIGALRM during write--we only want it to interrupt read().Todd C. Miller
2004-10-10use err/warn and __prognameMichael Shalayeff
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-18After a simplistic rewrite, signal flags were not being noticed until aTheo de Raadt
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-01-11comment on a real nasty raceTheo de Raadt
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
2000-04-16Propagate window size changes to slave.Marc Espie
2000-03-22Make script give correct return values; adapted from FreeBSDEric Jackson
1998-12-19union wait is wrong; christosTheo de Raadt
1997-08-06save errno in mangly handlersTheo de Raadt
1997-08-04save errno in sigchld handlersTheo de Raadt
1997-07-25user err(3)Michael Shalayeff
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-06-20WallTheo de Raadt
1997-03-25exec with argv[0] as shell, not "sh"; era@iki.fiTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt