]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
landlock_create_ruleset.2: SYNOPSIS: Add missing include
authorAlejandro Colomar <alx@kernel.org>
Sun, 24 Nov 2024 20:42:00 +0000 (21:42 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 26 Nov 2024 10:24:08 +0000 (11:24 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/landlock_create_ruleset.2

index 909269a9eb7dcb818a7417ca7b80cd7f6ec555df..cfeab62c946d5d9453555145a463fbc4a5410d31 100644 (file)
@@ -14,6 +14,7 @@ Standard C library
 .nf
 .BR "#include <linux/landlock.h>" "  /* Definition of " LANDLOCK_* " constants */"
 .BR "#include <sys/syscall.h>" "     /* Definition of " SYS_* " constants */"
+.B #include <unistd.h>
 .P
 .B int syscall(SYS_landlock_create_ruleset,
 .BI "            const struct landlock_ruleset_attr *" attr ,