commit | 7ac86265dc8f665cc49d6e60a125e608cd2fca14 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Wed Oct 10 15:25:28 2012 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Oct 12 20:15:08 2012 -0400 |
tree | 9e7941e2d8dfb2106c5fb28504531dafc72e14e6 | |
parent | 91a27b2a756784714e924e5e854b919273082d26 [diff] |
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 <jlayton@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>