Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unaligned access control utility uace available

2 views
Skip to first unread message

Anton Ertl

unread,
Mar 22, 2008, 10:19:56 AM3/22/08
to
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
an...@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html

0 new messages