Landlock Unix Connect Control

Goal: Linux 7.1

🐞 bug #36 💾 github 📬 old hook patch 💾 V1 💾 V2 💾 V3 💾 V4 💾 V5

💡 TL;DR: A Landlock control for restricting the connect(2) operation on UnixDomainSockets.

Server-side can already be restricted through LANDLOCK_ACCESS_FS_MAKE_SOCK, a filesystem access right which is required to create the socket file.

V6 TODOs

Collect TODOs from 📧 V5 review once the discussion has settled:

Then:

Work in Progress on 💾 github

Appropriate locking for accessing other’s creds

V5 (sent)