git: 641ae0ebbd71 - stable/15 - libsys: export pdopenpid(2)

Konstantin Belousov <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a81248e.4448b.203621ba__37456.0947575205$1786848551$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by kib:

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

commit 641ae0ebbd71b6a8695b5a4aeec86387bfd2861c
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-05-20 02:05:02 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-08-16 02:41:22 +0000

    libsys: export pdopenpid(2)
    
    (cherry picked from commit d6ff3bb3de91a2f1980c24e748ea5dc16b0987fd)
---
 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 7f5c252af91b..05678ad0a7b6 100644
--- a/lib/libsys/Symbol.sys.map
+++ b/lib/libsys/Symbol.sys.map
@@ -391,6 +391,7 @@ FBSD_1.8 {
 };
 
 FBSD_1.9 {
+	pdopenpid;
 	pdrfork;
 	pdrfork_thread;
 	renameat2;
diff --git a/sys/sys/procdesc.h b/sys/sys/procdesc.h
index 9eb64525e430..ba72cf573c31 100644
--- a/sys/sys/procdesc.h
+++ b/sys/sys/procdesc.h
@@ -137,6 +137,7 @@ pid_t	 pdfork(int *, int);
 pid_t	 pdrfork(int *, int, int);
 int	 pdkill(int, int);
 int	 pdgetpid(int, pid_t *);
+int	 pdopenpid(pid_t, int);
 int	 pdwait(int, int *, int, struct __wrusage *, struct __siginfo *);
 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.