diff options
author | Mark Johnston <markj@FreeBSD.org> | 2016-12-06 04:22:38 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2016-12-06 04:22:38 +0000 |
commit | b043b5dc6bf70af9d188fc37d201bb35dab8feec (patch) | |
tree | b47ad9b1b0fd341f0774f71371efe6e60091519c /cddl/compat/opensolaris/include | |
parent | c156354ff82167219f10fd80c55f6452acb60328 (diff) | |
download | src-b043b5dc6bf70af9d188fc37d201bb35dab8feec.tar.gz src-b043b5dc6bf70af9d188fc37d201bb35dab8feec.zip |
libproc: Add support for some proc_attach() flags.
This change adds some handling for the equivalent of Solaris' PGRAB_*
flags. In particular, support for PGRAB_RDONLY is needed to avoid a
nasty deadlock: dtrace(1) may otherwise stop the master process for its
pseudo-terminal and end up blocking while writing to standard output.
Notes
Notes:
svn path=/head/; revision=309597
Diffstat (limited to 'cddl/compat/opensolaris/include')
-rw-r--r-- | cddl/compat/opensolaris/include/libproc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cddl/compat/opensolaris/include/libproc.h b/cddl/compat/opensolaris/include/libproc.h index 565b0a43dd72..428fa6cf53fe 100644 --- a/cddl/compat/opensolaris/include/libproc.h +++ b/cddl/compat/opensolaris/include/libproc.h @@ -38,9 +38,6 @@ #define PR_RLC 0x0001 #define PR_KLC 0x0002 -#define PGRAB_RDONLY O_RDONLY -#define PGRAB_FORCE 0 - #include_next <libproc.h> #endif |