From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Subject: Unaligned access control utility uace available
Date: Sat, 22 Mar 2008 14:19:56 GMT [thread overview]
Message-ID: <2008Mar22.151956@mips.complang.tuwien.ac.at> (raw)
By default the Linux-Alpha kernel fixes unaligned accesses and logs
their occurence. One can control this behaviour, and the uace utility
does this.
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
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
reply other threads:[~2008-03-22 14:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox