mbox series

[git,pull] RCU-safe common_lsm_audit()

Message ID YDLhphz/PfGLTXfx@zeniv-ca.linux.org.uk (mailing list archive)
State New, archived
Headers show
Series [git,pull] RCU-safe common_lsm_audit() | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.audit

Message

Al Viro Feb. 21, 2021, 10:41 p.m. UTC
Making common_lsm_audit() non-blocking; we don't really need to grab/drop
dentry in there - rcu_read_lock() is enough.  There's a couple of followups
using that to simplify the logics in selinux, but those hadn't soaked in -next
yet, so they'll have to go in next window.

The following changes since commit d36a1dd9f77ae1e72da48f4123ed35627848507d:

  dump_common_audit_data(): fix racy accesses to ->d_name (2021-01-16 15:11:35 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.audit

for you to fetch changes up to 23d8f5b684fc30126b7708cad38b753eaa078b3e:

  make dump_common_audit_data() safe to be called from RCU pathwalk (2021-01-16 15:12:08 -0500)

----------------------------------------------------------------
Al Viro (2):
      new helper: d_find_alias_rcu()
      make dump_common_audit_data() safe to be called from RCU pathwalk

 fs/dcache.c            | 25 +++++++++++++++++++++++++
 include/linux/dcache.h |  2 ++
 security/lsm_audit.c   |  5 +++--
 3 files changed, 30 insertions(+), 2 deletions(-)

Comments

pr-tracker-bot@kernel.org Feb. 22, 2021, 9:35 p.m. UTC | #1
The pull request you sent on Sun, 21 Feb 2021 22:41:42 +0000:

> git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.audit

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/250a25e7a1d71da06213aa354ece44fb8faa73f7

Thank you!