| 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 0/5] landlock: add chmod and chown support |
| Date: |
| Mon, 22 Aug 2022 19:46:56 +0800 |
| Message-ID: |
| <20220822114701.26975-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 |
hi,
this patchset adds chmod and chown support for landlock
Xiu Jianfeng (5):
landlock: expand access_mask_t to u32 type
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 | 8 +-
include/uapi/linux/landlock.h | 8 +-
samples/landlock/sandboxer.c | 12 +-
security/landlock/fs.c | 16 +-
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 | 234 ++++++++++++++++++-
9 files changed, 274 insertions(+), 12 deletions(-)
--
2.17.1