[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140304.192152.1234652192226780071.davem@davemloft.net>
Date: Tue, 04 Mar 2014 19:21:52 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ebiederm@...ssion.com
Cc: akpm@...ux-foundation.org, rgb@...hat.com, eparis@...hat.com,
linux-audit@...hat.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [RFC][PATCH] audit: Simplify by assuming the callers socket
buffer is large enough
From: ebiederm@...ssion.com (Eric W. Biederman)
Date: Tue, 04 Mar 2014 14:41:16 -0800
> If we really want the ability to always appened to the queue of skb's
> is to just have a version of netlink_send_skb that ignores the queued
> limits. Of course an evil program then could force the generation of
> enough audit records to DOS the kernel, but we seem to be in that
> situation now. Shrug.
There is never a valid reason to bypass the socket limits.
It protects the system from things going out of control.
Netlink packet sends can fail, and audit should cope with that
event instead of trying to bludgeon it into not happening.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists