Re: [PATCH] pktgen: Remove a dangerous debug print.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nelson Elhage
Date: Wednesday, October 27, 2010 - 12:28 pm

How would you feel about limiting the debug print to at most, say, 512 or 1024
bytes? Even if it's only accessible to root by default, I don't a userspace
program should be able to accidentally corrupt the kernel stack by writing too
many bytes to a file in /proc.

- Nelson

On Wed, Oct 27, 2010 at 12:21:43PM -0700, David Miller wrote:
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] pktgen: Remove a dangerous debug print., Nelson Elhage, (Wed Oct 27, 12:13 pm)
Re: [PATCH] pktgen: Remove a dangerous debug print., David Miller, (Wed Oct 27, 12:21 pm)
Re: [PATCH] pktgen: Remove a dangerous debug print., Nelson Elhage, (Wed Oct 27, 12:28 pm)
Re: [PATCH] pktgen: Remove a dangerous debug print., Eric Dumazet, (Wed Oct 27, 12:41 pm)
Re: [PATCH] pktgen: Remove a dangerous debug print., Nelson Elhage, (Wed Oct 27, 12:49 pm)
Re: [PATCH] pktgen: Remove a dangerous debug print., Ben Greear, (Wed Oct 27, 1:38 pm)