git: db3b6e4413cb - stable/15 - libsys: export pddupfd(2)

Konstantin Belousov <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a812499.44ba9.4ceab17c__24540.7806521811$1786848703$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=db3b6e4413cba234e796eeb90d4a99eee02fa145

commit db3b6e4413cba234e796eeb90d4a99eee02fa145
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-05-21 19:19:57 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-08-16 02:41:27 +0000

    libsys: export pddupfd(2)
    
    (cherry picked from commit 2a41a8f64ba12c0d446bf1d4ed1334610f013773)
---
 lib/libsys/Symbol.sys.map | 1 +
 sys/sys/procdesc.h        | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lib/libsys/Symbol.sys.map b/lib/libsys/Symbol.sys.map
index 05678ad0a7b6..9d1fad29230d 100644
--- a/lib/libsys/Symbol.sys.map
+++ b/lib/libsys/Symbol.sys.map
@@ -391,6 +391,7 @@ FBSD_1.8 {
 };
 
 FBSD_1.9 {
+	pddupfd;
 	pdopenpid;
 	pdrfork;
 	pdrfork_thread;
diff --git a/sys/sys/procdesc.h b/sys/sys/procdesc.h
index ba72cf573c31..b332f73744de 100644
--- a/sys/sys/procdesc.h
+++ b/sys/sys/procdesc.h
@@ -139,6 +139,7 @@ int	 pdkill(int, int);
 int	 pdgetpid(int, pid_t *);
 int	 pdopenpid(pid_t, int);
 int	 pdwait(int, int *, int, struct __wrusage *, struct __siginfo *);
+int	 pddupfd(int, int, int);
 pid_t	 pdrfork_thread(int *, int, int, void *, int (*)(void *), void *);
 __END_DECLS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.