unix: fsmount fspick fsopen linux syscall

Patches were submitted to Linux manpages:
https://lwn.net/Articles/802096/, but not yet applied.
Generated on linux kernel v5.16.

Fsconfig couldn't implemented by generator, it requires
special cases handling.

Change-Id: I7f9560f4bc5b4bbe1e00c63ce1bc25c781aa1293
Reviewed-on: https://go-review.googlesource.com/c/sys/+/398434
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
This commit is contained in:
Alexey Perevalov
2022-04-12 07:17:39 +00:00
committed by Gopher Robot
parent 83041a38b1
commit 889880a91f
4 changed files with 64 additions and 0 deletions
+9
View File
@@ -914,6 +914,15 @@ const (
MOVE_MOUNT_T_AUTOMOUNTS = C.MOVE_MOUNT_T_AUTOMOUNTS
MOVE_MOUNT_T_EMPTY_PATH = C.MOVE_MOUNT_T_EMPTY_PATH
MOVE_MOUNT_SET_GROUP = C.MOVE_MOUNT_SET_GROUP
FSOPEN_CLOEXEC = C.FSOPEN_CLOEXEC
FSPICK_CLOEXEC = C.FSPICK_CLOEXEC
FSPICK_SYMLINK_NOFOLLOW = C.FSPICK_SYMLINK_NOFOLLOW
FSPICK_NO_AUTOMOUNT = C.FSPICK_NO_AUTOMOUNT
FSPICK_EMPTY_PATH = C.FSPICK_EMPTY_PATH
FSMOUNT_CLOEXEC = C.FSMOUNT_CLOEXEC
)
type OpenHow C.struct_open_how