linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v1 0/3] Use socket's Landlock domain
@ 2024-07-19 15:06 Mickaël Salaün
  2024-07-19 15:06 ` [RFC PATCH v1 1/3] landlock: Use socket's domain instead of current's domain Mickaël Salaün
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Mickaël Salaün @ 2024-07-19 15:06 UTC (permalink / raw)
  To: Günther Noack, Ivanov Mikhail, Konstantin Meskhidze,
	Paul Moore
  Cc: Mickaël Salaün, Casey Schaufler, Jeff Xu, Kees Cook,
	Serge E . Hallyn, Shervin Oloumi, Tahera Fahimi, linux-kernel,
	linux-security-module

Hi,

While the current approach works, I think we should change the way
Landlock restricts network actions.  Because this feature is relatively
new, we can still fix this inconsistency.  In a nutshell, let's follow a
more capability-based model.  Please let me know what you think.

Regards,

Mickaël Salaün (3):
  landlock: Use socket's domain instead of current's domain
  selftests/landlock: Add test for socket's domain
  landlock: Document network restrictions tied to sockets

 Documentation/userspace-api/landlock.rst    |  4 ++-
 security/landlock/net.c                     | 22 ++++++++--------
 tools/testing/selftests/landlock/net_test.c | 29 +++++++++++++++++++++
 3 files changed, 43 insertions(+), 12 deletions(-)


base-commit: f4b89d8ce5a835afa51404977ee7e3889c2b9722
-- 
2.45.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-07-23 16:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-19 15:06 [RFC PATCH v1 0/3] Use socket's Landlock domain Mickaël Salaün
2024-07-19 15:06 ` [RFC PATCH v1 1/3] landlock: Use socket's domain instead of current's domain Mickaël Salaün
2024-07-19 15:06 ` [RFC PATCH v1 2/3] selftests/landlock: Add test for socket's domain Mickaël Salaün
2024-07-19 15:06 ` [RFC PATCH v1 3/3] landlock: Document network restrictions tied to sockets Mickaël Salaün
2024-07-23 13:07 ` [RFC PATCH v1 0/3] Use socket's Landlock domain Günther Noack
2024-07-23 16:50   ` Mickaël Salaün

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).