index
:
FreeBSD-src
RELENG_2_2
RELENG_2_3
RELENG_2_3_0
RELENG_2_3_1
RELENG_2_3_2
RELENG_2_3_3
RELENG_2_3_4
RELENG_2_4
RELENG_2_4_4
RELENG_2_4_OLD
devel
devel-11
releng/10.1
releng/10.3
releng/11.0
releng/11.1
stable/10
stable/11
Raptor Engineering's fork of pfsense FreeBSD src with pfSense changes
Raptor Engineering, LLC
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
bin
/
sh
/
trap.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
sh: Fix use-after-free if a trap replaces itself.
jilles
2016-03-28
1
-1
/
+4
*
sh: Fix the trap builtin to be POSIX-compliant for 'trap exit SIG' and 'trap ...
bdrewery
2015-04-18
1
-1
/
+1
*
sh: Abort a wait builtin on any trapped signal.
jilles
2015-01-31
1
-1
/
+2
*
sh: Move some code from onint() to onsig(), making onint() noreturn.
jilles
2014-12-21
1
-2
/
+10
*
sh: Eliminate some gotos.
jilles
2014-10-05
1
-19
/
+16
*
sh: Remove SIGWINCH handler and just check for resize before every read.
jilles
2014-01-14
1
-15
/
+0
*
sh: Allow trapping SIGINT/SIGQUIT after ignore because of '&'.
jilles
2013-10-30
1
-1
/
+3
*
sh: Fix race condition with signals and wait or set -T.
jilles
2013-09-02
1
-12
/
+4
*
sh: Remove #define MKINIT.
jilles
2013-07-25
1
-1
/
+1
*
sh: Fix various compiler warnings.
jilles
2013-04-01
1
-1
/
+1
*
sh: When executing a trap, keep exit status along with evalskip.
jilles
2013-03-03
1
-2
/
+3
*
sh: If a SIGINT or SIGQUIT interrupts "wait", return status 128+sig.
jilles
2013-02-23
1
-16
/
+19
*
sh: Fix EINTR race condition in "wait" and "set -T" using sigsuspend().
jilles
2012-07-29
1
-0
/
+8
*
sh: Reset pendingsigs before checking pending traps, not after.
jilles
2012-07-15
1
-1
/
+1
*
sh: Fix execution of multiple statements in a trap when evalskip is set
dumbbell
2012-01-16
1
-1
/
+32
*
sh: Fix out of bounds array access when trap is used with an invalid signal.
jilles
2012-01-14
1
-2
/
+2
*
sh: Fix duplicate prototypes for builtins.
jilles
2011-06-13
1
-0
/
+1
*
sh: Remove special code for shell scripts without magic number.
jilles
2011-02-04
1
-16
/
+0
*
Make sys_signame upper case.
jilles
2011-02-04
1
-3
/
+3
*
sh: If exit is used without args from a trap action, exit on the signal.
jilles
2011-01-16
1
-4
/
+23
*
sh: Fix some things about -- in trap:
jilles
2011-01-15
1
-11
/
+14
*
sh: Make 'trap -l' look like 'kill -l'.
jilles
2011-01-14
1
-1
/
+1
*
sh: Make exit without parameters from EXIT trap POSIX-compliant.
jilles
2011-01-08
1
-2
/
+16
*
sh: Add a function to print warnings (with command name and newline).
jilles
2010-12-21
1
-1
/
+1
*
In the spirit of r90111, depend on c89 and remove the "STATIC" macro
obrien
2010-10-13
1
-4
/
+4
*
Consistently use "STATIC" for all functions in order to be able to set
obrien
2010-10-13
1
-4
/
+4
*
trap: do not consider a bad signal name a fatal error.
jilles
2009-11-21
1
-3
/
+6
*
sh: Use sigaction instead of signal/siginterrupt combination.
jilles
2009-11-11
1
-4
/
+6
*
Don't skip forking for an external command if any traps are active.
jilles
2009-06-13
1
-0
/
+15
*
Fix the eval command in combination with set -e. Before this change the shell
stefanf
2009-05-31
1
-2
/
+2
*
Whitespace nits.
schweikh
2006-04-17
1
-4
/
+4
*
Correctly quote the output when showing the installed trap actions.
stefanf
2005-12-08
1
-6
/
+5
*
Various small code cleanups resulting from a code reviewing
rse
2005-09-06
1
-1
/
+1
*
Remove clause 3 from the UCB licenses.
markm
2004-04-06
1
-4
/
+0
*
style(9): wrap at 80 columns.
njl
2004-02-12
1
-3
/
+5
*
Handle proper formatting and a buffer overrun when running an old sh on
njl
2004-02-12
1
-7
/
+28
*
Use sys_nsig instead of NSIG for the length of the signal arrays. This
njl
2004-01-28
1
-4
/
+4
*
Avoid calling el_resize() from a signal handler, even though libedit
tjr
2002-07-24
1
-2
/
+3
*
Catch SIGWINCH in interactive shells and call el_resize() to update
tjr
2002-07-23
1
-0
/
+15
*
Remove broken and incomplete support for old releases of System V,
tjr
2002-07-19
1
-5
/
+0
*
Consistently use FBSDID
obrien
2002-06-30
1
-2
/
+2
*
o __P has been reoved
imp
2002-02-02
1
-22
/
+12
*
$Id$ -> $FreeBSD$
peter
1999-08-27
1
-1
/
+1
*
Various spelling/formatting changes.
kris
1999-05-08
1
-2
/
+2
*
The immediate execution of traps I introduced in September 1998 (to
cracauer
1999-04-01
1
-2
/
+3
*
Narrow down conditions to break wait() to process traps.
cracauer
1998-09-10
1
-3
/
+4
*
Fix an inefficiency I introduced in my last commit.
cracauer
1998-09-10
1
-9
/
+4
*
If traps are set, they are now executed even when a signal-blocking
cracauer
1998-09-08
1
-5
/
+18
*
Improve bookkeeping of in_waitcmd and style fixes.
cracauer
1998-08-25
1
-2
/
+2
*
Re-enable killing childs with SIGQUIT. Spotted by Bruce Evans.
cracauer
1998-08-25
1
-2
/
+2
[next]