Re: [PATCH] 2.4.21: Optionally Configure UAC Policy via Sysctl (Alpha)

Tavis Ormandy (taviso@gentoo.org)
Thu, 10 Jul 2003 11:50:01 +0000


On Thu, Jul 10, 2003 at 03:32:17PM +0400, Ivan Kokshaysky wrote:
> On Thu, Jul 10, 2003 at 08:15:13AM +0000, Tavis Ormandy wrote:
> > + To disable the warning messages at runtime, you might use
> > +
> > + echo 1 > /proc/sys/kernel/uac/noprint
>
> It's really bad idea. Unaligned traps are *bugs*, so we don't
> want to hide them. Especially system-wide.
>

It's true that that they are bugs, but on such widespread errors that
are transparently fixed by the kernel, do we really need to be reminded
every time such an event occurs?

$ grep unaligned /proc/cpuinfo
kernel unaligned acc : 0 (pc=0,va=0)
user unaligned acc : 4400 (pc=30281c8c434,va=30281db8f62)

This machine has been up just a few hours, and already a has fixed a lot
of these errors. I really dont need the signal:noise ratio of my logs
diluted by this, unless im searching for bugs, which is why a sysctl
makes sense, imo.

> You can do all the same per process, using existing OSF-compatible
> UAC control.
>

True, and thats _really_ useful for turning the messages _on_ for the
application your working with/debugging/etc, system-wide messages just
dont make sense to me.

Also, it is optional, so only users who foresee wanting to disable the
messages will do so.

-- 
-------------------------------------
taviso@sdf.lonestar.org | finger me for my gpg key.
-------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/