From: Jeff Layton Date: Wed, 10 Oct 2012 19:25:28 +0000 (-0400) Subject: audit: allow audit code to satisfy getname requests from its names_list X-Git-Tag: v3.7-rc1~32^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ac86265dc8f665cc49d6e60a125e608cd2fca14;p=pandora-kernel.git audit: allow audit code to satisfy getname requests from its names_list Currently, if we call getname() on a userland string more than once, we'll get multiple copies of the string and multiple audit_names records. Add a function that will allow the audit_names code to satisfy getname requests using info from the audit_names list, avoiding a new allocation and audit_names records. Signed-off-by: Jeff Layton Signed-off-by: Al Viro --- Reading git-diff-tree failed