linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/9] Landlock fixes
@ 2020-11-11 21:34 Mickaël Salaün
  2020-11-11 21:34 ` [PATCH v1 1/9] landlock: Fix memory allocation error handling Mickaël Salaün
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Mickaël Salaün @ 2020-11-11 21:34 UTC (permalink / raw)
  To: James Morris, Jann Horn, Serge E . Hallyn
  Cc: Mickaël Salaün, Shuah Khan, Vincent Dagonneau,
	linux-doc, linux-kernel, linux-kselftest, linux-security-module

Hi,

This patch series fixes some issues and makes the Landlock filesystem
access-control more consistent and deterministic when stacking multiple
rulesets.  This is checked by current and new tests.  I also extended
documentation and example to help users.

This series can be applied on top of
https://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git/log/?h=landlock_lsm

Regards,

Mickaël Salaün (9):
  landlock: Fix memory allocation error handling
  landlock: Cosmetic fixes for filesystem management
  landlock: Enforce deterministic interleaved path rules
  landlock: Always intersect access rights
  landlock: Add extra checks when inserting a rule
  selftests/landlock: Extend layout1.inherit_superset
  landlock: Clean up get_ruleset_from_fd()
  landlock: Add help to enable Landlock as a stacked LSM
  landlock: Extend documentation about limitations

 Documentation/userspace-api/landlock.rst   |  17 +++
 samples/landlock/sandboxer.c               |  21 +++-
 security/landlock/Kconfig                  |   4 +-
 security/landlock/fs.c                     |  67 +++++-----
 security/landlock/object.c                 |   5 +-
 security/landlock/ruleset.c                |  34 ++---
 security/landlock/syscall.c                |  24 ++--
 tools/testing/selftests/landlock/fs_test.c | 140 +++++++++++++++++++--
 8 files changed, 239 insertions(+), 73 deletions(-)


base-commit: 96b3198c4025c11347651700b77e45a686d78553
-- 
2.29.2


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

end of thread, other threads:[~2020-11-20  1:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-11 21:34 [PATCH v1 0/9] Landlock fixes Mickaël Salaün
2020-11-11 21:34 ` [PATCH v1 1/9] landlock: Fix memory allocation error handling Mickaël Salaün
2020-11-11 21:34 ` [PATCH v1 2/9] landlock: Cosmetic fixes for filesystem management Mickaël Salaün
2020-11-20  1:37   ` James Morris
2020-11-11 21:34 ` [PATCH v1 3/9] landlock: Enforce deterministic interleaved path rules Mickaël Salaün
2020-11-11 21:34 ` [PATCH v1 4/9] landlock: Always intersect access rights Mickaël Salaün
2020-11-11 21:34 ` [PATCH v1 5/9] landlock: Add extra checks when inserting a rule Mickaël Salaün
2020-11-11 21:34 ` [PATCH v1 6/9] selftests/landlock: Extend layout1.inherit_superset Mickaël Salaün
2020-11-11 21:34 ` [PATCH v1 7/9] landlock: Clean up get_ruleset_from_fd() Mickaël Salaün
2020-11-11 21:34 ` [PATCH v1 8/9] landlock: Add help to enable Landlock as a stacked LSM Mickaël Salaün
2020-11-11 21:34 ` [PATCH v1 9/9] landlock: Extend documentation about limitations Mickaël Salaün
2020-11-12  4:59 ` [PATCH v1 0/9] Landlock fixes James Morris

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).