Skip to contentSkip to conversation

Documentation: landlock: Document fs.resolve_unix audit blocker

PATCH In review Doehyun Baek 3 participants 4 messages Jun 25 – Jul 7

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: landlock: Document fs.resolve_unix audit blocker

The Landlock audit code can emit fs.resolve_unix as a filesystem blocker for pathname UNIX socket resolution denials, but the admin guide's blockers list did not mention it.

Add the missing blocker name and ABI version to keep the audit documentation in sync with the emitted records.

Fixes ae97330d1bd6 ("landlock: Control pathname UNIX domain socket resolution by path")
---
 Documentation/admin-guide/LSM/landlock.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/admin-guide/LSM/landlock.rst +1 -0
index 314052bbeb0a..8eb85c9381ff 100644
@@ -52,6 +52,7 @@ AUDIT_LANDLOCK_ACCESS
         - fs.refer (ABI 2+)
         - fs.truncate (ABI 3+)
         - fs.ioctl_dev (ABI 5+)
+        - fs.resolve_unix (ABI 9+)
 
     **net.*** - Network access rights (ABI 4+):
         - net.bind_tcp - TCP port binding was denied

base-commit: ab9de95c9cf952332ab79453b4b5d1bfca8e514f

Signature · 1 line
2.43.0
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 26 lines · Doehyun Baek

The Landlock audit code can emit fs.resolve_unix as a filesystem blocker for pathname UNIX socket resolution denials, but the admin guide's blockers list did not mention it.

Add the missing blocker name and ABI version to keep the audit documentation in sync with the emitted records.

Fixes ae97330d1bd6 ("landlock: Control pathname UNIX domain socket resolution by path")
---
 Documentation/admin-guide/LSM/landlock.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/admin-guide/LSM/landlock.rst +1 -0
index 314052bbeb0a..8eb85c9381ff 100644
@@ -52,6 +52,7 @@ AUDIT_LANDLOCK_ACCESS
         - fs.refer (ABI 2+)
         - fs.truncate (ABI 3+)
         - fs.ioctl_dev (ABI 5+)
+        - fs.resolve_unix (ABI 9+)
 
     **net.*** - Network access rights (ABI 4+):
         - net.bind_tcp - TCP port binding was denied
Quoted 4 lines

base-commit: ab9de95c9cf952332ab79453b4b5d1bfca8e514f

Signature · 1 line
2.43.0

Thanks, good catch!

author Reviewed-by Günther Noack
#2 lore raw

Hi Mickaël,

Gentle ping on this documentation fix.

Günther reviewed it:

The patch still applies cleanly. Could this be picked up via the Landlock tree?

Thanks,
Doehyun

maintainer
#3 lore raw

It's applied, thanks!

Quoted 13 lines · Doehyun Baek

Hi Mickaël,

Gentle ping on this documentation fix.

Günther reviewed it:

The patch still applies cleanly. Could this be picked up via the Landlock tree?

Thanks,
Doehyun