From b91ea9289b58ea7b5611dde484a96d97ee086121 Mon Sep 17 00:00:00 2001 From: Siddharth M Date: Wed, 4 Dec 2019 12:35:27 +0530 Subject: make required changes to sys/netbsd --- sys/netbsd/sys.txt | 19 ++++++++++--------- 1 file 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 -- cgit mrf-deployment