diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-01-05 20:13:52 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-01-16 21:12:06 +0100 |
commit | bca585d24a1719d9314d5438b0d2804a33d9bbb6 (patch) | |
tree | aa7d4a45ea39b63deb8e0ebbb82f1c9d2aa0ee0e /security/lsm_audit.c | |
parent | dump_common_audit_data(): fix racy accesses to ->d_name (diff) | |
download | linux-bca585d24a1719d9314d5438b0d2804a33d9bbb6.tar.xz linux-bca585d24a1719d9314d5438b0d2804a33d9bbb6.zip |
new helper: d_find_alias_rcu()
similar to d_find_alias(inode), except that
* the caller must be holding rcu_read_lock()
* inode must not be freed until matching rcu_read_unlock()
* result is *NOT* pinned and can only be dereferenced until
the matching rcu_read_unlock().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/lsm_audit.c')
0 files changed, 0 insertions, 0 deletions