lkml.org 
[lkml]   [2004]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: setterm -msg off broken in 2.6.9
Seth Arnold <sarnold@immunix.com> wrote:
>
> Hello, I'm using 2.6.9 on my ibook g3 700mhz, debian unstable.
>
> I use setterm -msg off to turn off kernel log buffer to console from
> time to time. It now reports an error:
> $ setterm -msg off
> klogctl error: Unknown error 4294967295
>
> kernel log messages are still printed to the console.
>

I assume that's because:

2643 syslog(0x6, 0, 0) = -1 EPERM (Operation not permitted)

but cap_syslog() has disallowed command 6 for a long time.

It seems reasonable to be able to kill console messages if the user is
using the console, but from my reading current 2.4 kernels will fail this
if you're not root as well.

With what kernel were you able to run `setterm -msg' without being root?
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.032 / U:1.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site