Re: [PATCH] epoll: don't printk pointer value

William Lee Irwin III (wli@holomorphy.com)
Tue, 10 Dec 2002 22:30:31 -0800


On Wed, Dec 11, 2002 at 01:27:25AM -0500, Robert Love wrote:
> I really cannot think of a good reason why eventpoll_init() should print
> a pointer value to user-space - especially the value of current?
> I do not think this is good practice and someone might even consider it
> a security hole. Personally, I would prefer to remove the "successfully
> initialized" message altogether, but at the very least can we not print
> current's address?

You're still passing current as an argument to the printk.

Bill
-
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/