diff options
| author | chs <chs@NetBSD.org> | 2018-02-25 18:48:39 +0000 |
|---|---|---|
| committer | chs <chs@NetBSD.org> | 2018-02-25 18:48:39 +0000 |
| commit | 6b60e116d2ec6586cfdc751ec59ebc2ec0e9a7a9 (patch) | |
| tree | 4749fc12b27fdecedca7479a0d023e1a8ca27423 /external/bsd/libproc | |
| parent | a1089b4b5314dd620361a7340a98f44641363166 (diff) | |
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 (limited to 'external/bsd/libproc')
| -rw-r--r-- | external/bsd/libproc/dist/libproc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/external/bsd/libproc/dist/libproc.h b/external/bsd/libproc/dist/libproc.h index d35a1f95f07..458c480c7d7 100644 --- a/external/bsd/libproc/dist/libproc.h +++ b/external/bsd/libproc/dist/libproc.h @@ -51,6 +51,11 @@ typedef void (*proc_child_func)(void *); #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 |
