Messages in this thread | | | Subject | Re: [Patch] TIOCCONS security | From | Valdis.Kletnieks@vt ... | Date | Thu, 26 Aug 2004 17:22:58 -0400 |
| |
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] | |