| commit | 5d23749842c38878a0853a8a45d18eddb1adf629 | [log] [tgz] |
|---|---|---|
| author | Christian Brauner <brauner@kernel.org> | Mon Apr 14 17:39:43 2025 +0200 |
| committer | Christian Brauner <brauner@kernel.org> | Mon Apr 14 17:48:22 2025 +0200 |
| tree | 860058e34363f0e66d70240c04244001039a5ae3 | |
| parent | 8ffd015db85fea3e15a77027fda6c02ced4d2444 [diff] |
fs: add kern_path_locked_negative()
The audit code relies on the fact that kern_path_locked() returned a
negative dentry. Add a helper that implements these semantics to fix the
immediate bleeding. We can find a unified solution for this afterwards.
Fixes: 1c3cb50b58c3 ("VFS: change kern_path_locked() and user_path_locked_at() to never return negative dentry")
Signed-off-by: Christian Brauner <brauner@kernel.org>