diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-05-21 19:13:18 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-07-07 22:03:53 +0000 |
| commit | 080a7fe981783590bf7f0ff39eb44dc2eecd58a2 (patch) | |
| tree | 0441676105c25f7d70aab71e052dc1cb9e2b58ae /lib | |
| parent | c20558e5c9dadfdddc879ee50a65d14beb4992b9 (diff) | |
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libsys/_libsys.h | 2 | ||||
| -rw-r--r-- | lib/libsys/syscalls.map | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/libsys/_libsys.h b/lib/libsys/_libsys.h index c40e56a96094..81dc7bdeb475 100644 --- a/lib/libsys/_libsys.h +++ b/lib/libsys/_libsys.h @@ -476,6 +476,7 @@ typedef int (__sys_pdrfork_t)(int *, int, int); typedef int (__sys_pdwait_t)(int, int *, int, struct __wrusage *, struct __siginfo *); typedef int (__sys_renameat2_t)(int, const char *, int, const char *, int); typedef int (__sys_pdopenpid_t)(pid_t, int); +typedef int (__sys_pddupfd_t)(int, int, int); _Noreturn void __sys__exit(int rval); int __sys_fork(void); @@ -887,6 +888,7 @@ int __sys_pdrfork(int * fdp, int pdflags, int rfflags); int __sys_pdwait(int fd, int * status, int options, struct __wrusage * wrusage, struct __siginfo * info); int __sys_renameat2(int oldfd, const char * old, int newfd, const char * new, int flags); int __sys_pdopenpid(pid_t pid, int flags); +int __sys_pddupfd(int pd, int fd, int flags); __END_DECLS #endif /* __LIBSYS_H_ */ diff --git a/lib/libsys/syscalls.map b/lib/libsys/syscalls.map index 2d0f204f9705..2e4fa4b27ed4 100644 --- a/lib/libsys/syscalls.map +++ b/lib/libsys/syscalls.map @@ -827,4 +827,6 @@ FBSDprivate_1.0 { __sys_renameat2; _pdopenpid; __sys_pdopenpid; + _pddupfd; + __sys_pddupfd; }; |
