Example usages:
1) I won't fix mysqladmin, so I don't want to see the "unaligned trap"
messages in the logs:
uace noprint mysqladmin
2) I am developing Forth code, and want to get a SIGBUS (and the
corresponding backtrace) when I do an unaligned access:
uace sigbus noprint gforth
3) I want all further processes started from this shell session not to
log "unaligned trap" messages:
exec uace noprint $SHELL
4) Reenable Linux default, e.g. after 3):
exec uace $SHELL
Note that all children of the uaced process are affected, too.
You find the source code at <http://www.complang.tuwien.ac.at/anton/uace.c>
There is a bit of documentation in the source, and no additional
documentation. If you want to create a more comprehensive package for
this utility, go ahead.
- anton
--
M. Anton Ertl Some things have to be seen to be believed
an...@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html