aboutsummaryrefslogtreecommitdiffstats
path: root/sys/netbsd
diff options
context:
space:
mode:
authorSiddharth M <siddharth.muralee@gmail.com>2019-12-04 12:35:27 +0530
committerDmitry Vyukov <dvyukov@google.com>2019-12-05 10:06:13 +0100
commitb91ea9289b58ea7b5611dde484a96d97ee086121 (patch)
tree8f7a8779f20f5b80d530969f9c760e4b82715452 /sys/netbsd
parenta734d2a6d9c158d7c1419de72fc6caaa98d7f95b (diff)
make required changes to sys/netbsd
Diffstat (limited to 'sys/netbsd')
-rw-r--r--sys/netbsd/sys.txt19
1 files changed, 10 insertions, 9 deletions
diff --git a/sys/netbsd/sys.txt b/sys/netbsd/sys.txt
index 5496229b7..133de0c14 100644
--- a/sys/netbsd/sys.txt
+++ b/sys/netbsd/sys.txt
@@ -201,17 +201,18 @@ posix_spawn_file_actions {
fae ptr[in, posix_spawn_file_actions_entry]
}
-posix_spawn_file_actions_entry {
- fae_action int32
- fae_filedes int32
- fae_data fae_data_t
-}
-
-fae_data_t [
- open open_t
- dup2 dup2_t
+posix_spawn_file_actions_entry [
+ open posix_spawn_file_actions_entry_t[FAE_OPEN, fd, open_t]
+ dup posix_spawn_file_actions_entry_t[FAE_DUP2, fd, dup2_t]
+ close posix_spawn_file_actions_entry_t[FAE_CLOSE, fd, void]
]
+type posix_spawn_file_actions_entry_t[ACTION, FILEDES, DATA] {
+ fae_action const[ACTION, int32]
+ fae_filedes FILEDES
+ fae_data DATA
+}
+
open_t {
path ptr[in, string]
oflag int32