freebsd-src/cddl/contrib/opensolaris
Eric van Gyzen bcbce2a29b dtrace: do not overload libproc flags
dtrace stored its PR_RLC and PR_KLC flags in the proc_handle's flags,
where they collided with PATTACH_FORCE and PATTACH_RDONLY, respectively.
Thus, Psetflags(PR_KLC) effectively also set the PATTACH_RDONLY flag.

Since the flags are private to dtrace (at least on FreeBSD), store them in
dtrace's own dt_proc structure instead.

On FreeBSD, either PR_RLC or PR_KLC was always set, so remove code that
would handle the case where neither was set.

Reviewed by:	markj
MFC after:	1 week
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D41121
2023-08-01 12:28:50 -05:00
..
cmd dtrace: move kinst tests to common 2023-07-04 18:46:59 +03:00
common libctf: Fix recursive descent into anonymous SOU fields 2022-04-12 17:29:53 -04:00
head MFV r270197: 2014-08-22 22:13:36 +00:00
lib dtrace: do not overload libproc flags 2023-08-01 12:28:50 -05:00
tools/ctf ctfconvert: Integer encoding types are unsigned 2023-06-28 16:29:49 -04:00
OPENSOLARIS.LICENSE