Skip to content

Landlock tests for ABI v6

Andrea Cervesato ltp 4 versions – Applied

Status from this message: Merged, thanks!

Get series with b4
b4 am [email protected] change-id 20250325-landlock_unix_socket-592bb00535be

Versions newest first

  1. v4 Latest4 patches 1 replyApplied
  2. v34 patches 0 repliesSuperseded
  3. v24 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches5 repliesSuperseded

Changes in v4 from the cover letter

- retrigger patchwork
- Link to v3: https://lore.kernel.org/r/[email protected]

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4Add landlock ABI v6 fallbackinclude/lapi/landlock.h+17 -60 replies
2/4landlock02: support landlock ABI v6testcases/kernel/syscalls/landlock/landlock02.c+9 -30 replies
3/4landlock: add landlock09 testruntest/syscalls testcases/kernel/syscalls/landlock/.gitignore testcases/kernel/syscalls/landlock/landlock09.c +1 more+144 -00 replies
4/4landlock: add landlock10 testruntest/syscalls testcases/kernel/syscalls/landlock/.gitignore testcases/kernel/syscalls/landlock/landlock10.c+110 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchCyril Hrubis
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [LTP] [PATCH v4 0/4] Landlock tests for ABI v6

Landlock released a new feature for IPC scoping in the new ABI. This includes the following new rules which will be tested in this patch-set:

- LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET
- LANDLOCK_SCOPE_SIGNAL

https://docs.kernel.org/userspace-api/landlock.html#ipc-scoping

---
Changes in v4:
- retrigger patchwork
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- import <stddef.h> for offsetof declaration
- fix build error caused by DOMAIN_CNT in metadata parser. Just use .tst_variants = 3
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- add landlock09 and landlock10 to runtest file
- DOMAIN_LENGTH -> DOMAIN_CNT
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Andrea Cervesato (4):
Add landlock ABI v6 fallback
landlock02: support landlock ABI v6
landlock: add landlock09 test
landlock: add landlock10 test

 include/lapi/landlock.h                            |  23 +++-
 runtest/syscalls                                   |   2 +
 testcases/kernel/syscalls/landlock/.gitignore      |   2 +
 testcases/kernel/syscalls/landlock/landlock02.c    |  12 +-
 testcases/kernel/syscalls/landlock/landlock09.c    | 131 +++++++++++++++++++++
 testcases/kernel/syscalls/landlock/landlock10.c    | 108 +++++++++++++++++
 .../kernel/syscalls/landlock/landlock_common.h     |  11 ++
 7 files changed, 280 insertions(+), 9 deletions(-)

---
base-commit: db887f441f20f4323b1300624dbca2a03c1c8ed1
change-id: 20250325-landlock_unix_socket-592bb00535be

Best regards,

Signature · 5 lines
Andrea Cervesato <[email protected]>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp