[PATCH v2] Untrusted string logging

David Woodhouse dwmw2 at infradead.org
Wed May 18 12:00:48 UTC 2005


On Wed, 2005-05-18 at 10:55 +0100, David Woodhouse wrote:
> The reason I didn't do it at the time was because I didn't see a simple
> way to treat the _entire_ path, prefix and all, as a single string to be
> either quoted or not by audit_log_untrustedstring() as appropriate.
> 
> I've changed your version slightly so it looks like this...

Er, I misremembered what the prefix is. Of course it doesn't need to be
escaped. I suspect I was thinking of the vfsmount's path -- I have a
vague recollection that we once used to log that separately.

-- 
dwmw2




More information about the Linux-audit mailing list