lkml.org 
[lkml]   [2004]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Patch] TIOCCONS security
From
Date
On Wed, 25 Aug 2004 14:03:41 PDT, Kees Cook said:

> Confirmed. If you run the following code as a regular user, you can see
> messages. (BTW: don't do a "tail -f /dev/console". For reasons I don't
> understand, it writes endless CRs to which ever tty you happen to have
> open):

It's probably a bananana problem. The tail -f writes something, which ends in
a \n. Then the tail -f reads the last thing written, which was a \n, and
writes it out, and.....

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.046 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site