Re: i386-show-unhandled-signals-v3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/26/2007 01:25 AM, Andrew Morton wrote:

On Wed, 25 Jul 2007 14:07:56 -0700
"Masoud Sharbiani" <[email protected]> wrote:

This is rate limited; Do you need me to rewrite it with it being
disabled by default?

Yes please.

Look: if there's a way in which an unprivileged user can trigger a printk
we fix it, end of story. I don't know why this even slightly controversial.

rene@7ixe4:/tmp$ su -c "dmesg -c >/dev/null"
rene@7ixe4:/tmp$ cdparanoia -B

[ ... ]

rene@7ixe4:/tmp$ dmesg | wc -l
158
rene@7ixe4:/tmp$ dmesg | tail -20
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
   program cdparanoia not setting count and/or reply_len properly
printk: 252 messages suppressed.
sg_write: data in/out 16464/16464 bytes for SCSI command 0xbe--guessing data in;
   program cdparanoia not setting count and/or reply_len properly
printk: 245 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
   program cdparanoia not setting count and/or reply_len properly
printk: 243 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
   program cdparanoia not setting count and/or reply_len properly
printk: 242 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
   program cdparanoia not setting count and/or reply_len properly
printk: 255 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
   program cdparanoia not setting count and/or reply_len properly
printk: 242 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
   program cdparanoia not setting count and/or reply_len properly

cdparanoia does require access to the /dev/sg? that corresponds to /dev/cdrom but at least udev (here) makes that node be a (root,cdrom) b-rw-rw--- device (and requiring root privileges to rip CDs would certainly not be nice).

Rene.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux