[BusyBox] Busybox SH signal handling
Bryan Rittmeyer
bryan at ixiacom.com
Tue Nov 28 21:04:23 UTC 2000
Hello,
Has anyone looked into adding signal-related error handling to the
Busybox shell? IE:
bryan at squirt:~/src$ ./segtest
Segmentation fault
bryan at squirt:~/src$
in bash. but in busybox sh:
bryan at squirt:~/src$ busybox/busybox sh
BusyBox v0.48pre (2000.11.28-20:59+0000) Built-in shell
Enter 'help' for a list of built-in commands.
/home/bryan/src # ./segtest
/home/bryan/src #
No error message from Busybox shell.
(segtest just performs an invalid pointer dereference).
How difficult would it be to have the busybox shell output "Segmentation
fault" on SIGSEGV, and possibly
intercept other fatal signals?
If noone has looked into this, I will give it a shot when I get some
time.
Thanks,
Bryan
--
Bryan Rittmeyer
mailto:bryan at ixiacom.com
Ixia Communications
26601 W. Agoura Rd.
Calabasas, CA 91302
More information about the busybox
mailing list