Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/libproc/dist add some flag definitions from a n...



details:   https://anonhg.NetBSD.org/src/rev/8dea43dd941f
branches:  trunk
changeset: 830092:8dea43dd941f
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Feb 25 18:48:39 2018 +0000

description:
add some flag definitions from a newer version of FreeBSD's libproc
that are needed by the new dtrace.  these don't do anything yet,
but dtrace doesn't mind.  I'll do a full resync to the latest FreeBSD
libproc / librtld_db later.

diffstat:

 external/bsd/libproc/dist/libproc.h |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 4ced3a1c5705 -r 8dea43dd941f external/bsd/libproc/dist/libproc.h
--- a/external/bsd/libproc/dist/libproc.h       Sun Feb 25 17:45:40 2018 +0000
+++ b/external/bsd/libproc/dist/libproc.h       Sun Feb 25 18:48:39 2018 +0000
@@ -51,6 +51,11 @@
 #define PS_DEAD                5
 #define PS_LOST                6
 
+/* Flags for proc_attach(). */
+#define        PATTACH_FORCE   0x01
+#define        PATTACH_RDONLY  0x02
+#define        PATTACH_NOSTOP  0x04
+
 /* Reason values for proc_detach(). */
 #define PRELEASE_HANG  1
 #define PRELEASE_KILL  2



Home | Main Index | Thread Index | Old Index