| From: |
| Xiu Jianfeng <xiujianfeng-AT-huawei.com> |
| To: |
| <mic-AT-digikod.net>, <paul-AT-paul-moore.com>, <jmorris-AT-namei.org>, <serge-AT-hallyn.com>, <shuah-AT-kernel.org>, <corbet-AT-lwn.net> |
| Subject: |
| [PATCH -next v2 0/6] landlock: add chmod and chown support |
| Date: |
| Sat, 27 Aug 2022 19:12:09 +0800 |
| Message-ID: |
| <20220827111215.131442-1-xiujianfeng@huawei.com> |
| Cc: |
| <linux-security-module-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, <linux-kselftest-AT-vger.kernel.org>, <linux-doc-AT-vger.kernel.org> |
| Archive-link: |
| Article |
v2:
* abstract walk_to_visible_parent() helper
* chmod and chown rights only take affect on directory's context
* add testcase for fchmodat/lchown/fchownat
* fix other review issues
Xiu Jianfeng (6):
landlock: expand access_mask_t to u32 type
landlock: abstract walk_to_visible_parent() helper
landlock: add chmod and chown support
landlock/selftests: add selftests for chmod and chown
landlock/samples: add chmod and chown support
landlock: update chmod and chown support in document
Documentation/userspace-api/landlock.rst | 9 +-
include/uapi/linux/landlock.h | 10 +-
samples/landlock/sandboxer.c | 13 +-
security/landlock/fs.c | 110 ++++++--
security/landlock/limits.h | 2 +-
security/landlock/ruleset.h | 2 +-
security/landlock/syscalls.c | 2 +-
tools/testing/selftests/landlock/base_test.c | 2 +-
tools/testing/selftests/landlock/fs_test.c | 267 ++++++++++++++++++-
9 files changed, 386 insertions(+), 31 deletions(-)
--
2.17.1