Skip to content

Commit c43491e

Browse files
committed
Update for landlock v4
1 parent 7f7edbd commit c43491e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

runtime/tracer/landlock.c

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ int landlock_setup(struct landlock_ctx *ctx) {
6464
"provided by ABI version %d (instead of %d).\n",
6565
LANDLOCK_ABI_LAST, abi_ver);
6666
__attribute__((fallthrough));
67+
case 3:
6768
case LANDLOCK_ABI_LAST:
6869
break;
6970
default:

runtime/tracer/landlock_syscall.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,4 @@ static inline int landlock_restrict_self(const int ruleset_fd,
7979

8080
/* clang-format on */
8181

82-
#define LANDLOCK_ABI_LAST 3
82+
#define LANDLOCK_ABI_LAST 4

0 commit comments

Comments
 (0)