From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,9c4e86f7b5fcd905,start X-Google-Attributes: gid111c93,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.germany.com!newsfeed.freenet.de!newsfeed01.chello.at!newscore.univie.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail X-newsreader: xrn 9.03-beta-14 From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Newsgroups: comp.os.linux.alpha Subject: Unaligned access control utility uace available Organization: Institut fuer Computersprachen, Technische Universitaet Wien Date: Sat, 22 Mar 2008 14:19:56 GMT Message-ID: <2008Mar22.151956@mips.complang.tuwien.ac.at> NNTP-Posting-Host: a4.complang.tuwien.ac.at X-Trace: 1206196112 tunews.univie.ac.at 28520 128.130.173.65 X-Complaints-To: abuse@tuwien.ac.at Xref: g2news1.google.com comp.os.linux.alpha:935 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 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