October 2018
Beginner
794 pages
19h 23m
English
Next, we execute the test case wherein the SA_NODEFER flag is cleared; this is the default behavior:
$ ./defer_or_not Usage: ./defer_or_not {option}option=1 : don't use (clear) SA_NODEFER flag (default sigaction style)option=2 : use (set) SA_NODEFER flag (will process signal immd)$ ./defer_or_not 1PID 3016: running with the SA_NODEFER signal flag Cleared [default]Process awaiting signals ...
Now, in another terminal window, we run the shell script:
$ ./bombard_sig.sh $(pgrep defer_or_not) 12
Read now
Unlock full access