summaryrefslogtreecommitdiff
path: root/bin/sh/jobs.c
Commit message (Expand)AuthorAgeFilesLines
* sh: Fix double INTON with vforkJilles Tjoelker2020-05-161-1/+3
* sh: Add set -o pipefailJilles Tjoelker2019-02-241-3/+20
* sh: Unify EXERROR and EXEXECJilles Tjoelker2018-11-091-1/+1
* sh: Use exitstatus instead of exerrno to pass EXEXEC statusJilles Tjoelker2018-10-271-1/+2
* sh: Refactor job status printing, preparing for -o pipefail and similarJilles Tjoelker2018-02-021-7/+8
* sh: Move various structs from jobs.h to jobs.cJilles Tjoelker2018-01-011-0/+36
* sh: Don't leak wait* implementation details from jobs.cJilles Tjoelker2017-12-261-3/+3
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* sh: Don't trust that signal descriptions fit within 49 bytes.Jilles Tjoelker2016-03-021-18/+18
* sh: Pass along SIGINT from a child if job control is enabled, even when notJilles Tjoelker2015-04-251-1/+1
* sh: Fix more compiler warnings.Jilles Tjoelker2015-03-011-1/+1
* sh: Abort a wait builtin on any trapped signal.Jilles Tjoelker2015-01-311-4/+4
* sh: Remove more gotos.Jilles Tjoelker2014-10-151-40/+58
* sh: Eliminate some gotos.Jilles Tjoelker2014-10-051-5/+3
* sh: Allow enabling job control without a tty in non-interactive mode.Jilles Tjoelker2014-09-041-13/+40
* sh: Remove prefix() function. Use strncmp() instead.Jilles Tjoelker2014-07-201-1/+4
* sh: Don't overwrite old exit status if a PID is reused.Jilles Tjoelker2014-03-201-1/+2
* sh: Allow kill %job on jobs started without job control.Jilles Tjoelker2014-03-151-4/+15
* sh: Add some consts.Jilles Tjoelker2014-03-141-4/+4
* sh: Successfully do nothing when killing a terminated job.Jilles Tjoelker2014-03-081-0/+2
* sh: Remove one syscall when waiting for a foreground job.Jilles Tjoelker2013-10-181-2/+1
* sh: Fix race condition with signals and wait or set -T.Jilles Tjoelker2013-09-021-17/+15
* sh: Do not prematurely discard stopped jobs in a wait builtin.Jilles Tjoelker2013-08-241-5/+1
* sh: Recognize "--" as end of options in bg/fg/jobid builtins.Jilles Tjoelker2013-08-161-6/+9
* sh: Remove #define MKINIT.Jilles Tjoelker2013-07-251-3/+3
* sh: Return status 127 for unknown jobs in wait builtin.Jilles Tjoelker2013-06-051-5/+19
* sh: Allow multiple operands in wait builtin.Jilles Tjoelker2013-06-051-6/+18
* sh: Use O_CLOEXEC and F_DUPFD_CLOEXEC instead of separate fcntl() call.Jilles Tjoelker2013-05-051-8/+4
* sh: Don't consider jobs -s/-p as reporting the status of jobs.Jilles Tjoelker2013-04-271-7/+9
* sh: Fix various compiler warnings.Jilles Tjoelker2013-04-011-2/+3
* sh: Recognize "--" and explicitly reject options in wait builtin.Jilles Tjoelker2013-03-151-3/+4
* sh: If a SIGINT or SIGQUIT interrupts "wait", return status 128+sig.Jilles Tjoelker2013-02-231-1/+1
* Catch TRACE parameters up with r238888. This change is only needed whenXin LI2013-02-071-1/+1
* sh: Show negated commands (!) in jobs output.Jilles Tjoelker2013-01-311-0/+4
* sh: Prefer strsignal() to accessing sys_siglist directly.Jilles Tjoelker2012-12-251-8/+13
* sh: Prefer internal nextopt() to libc getopt().Jilles Tjoelker2012-09-151-11/+4
* sh: Fix EINTR race condition in "wait" and "set -T" using sigsuspend().Jilles Tjoelker2012-07-291-4/+40
* sh: Do not ask for stopped/continued processes if we do not need themJilles Tjoelker2012-07-281-6/+5
* sh: Inline waitproc() into its only caller.Jilles Tjoelker2012-07-281-22/+9
* sh: Track continued jobs (even if not continued by bg or fg).Jilles Tjoelker2012-07-281-3/+8
* sh: Remove unused variable in_dowait.Jilles Tjoelker2012-07-151-3/+0
* sh: Fix build with -DDEBUG=2.Jilles Tjoelker2012-04-021-2/+2
* sh: Use vfork in a few common cases.Jilles Tjoelker2012-02-041-0/+49
* Add prototypes, ANSIfy functions definitions to reduce WARNS=6 output.Philippe Charnier2012-01-251-0/+1
* sh: Fix duplicate prototypes for builtins.Jilles Tjoelker2011-06-131-0/+1
* sh: Save/restore changed variables in optimized command substitution.Jilles Tjoelker2011-06-121-1/+3
* sh: Reduce more needless differences between error messages.Jilles Tjoelker2011-06-041-2/+2
* sh: Remove special code for shell scripts without magic number.Jilles Tjoelker2011-02-041-16/+0
* sh: Send messages about signals to stderr.Jilles Tjoelker2011-01-301-5/+5
* sh: Fix signal messages being sent to the wrong file sometimes.Jilles Tjoelker2011-01-181-0/+1