freebsd-src/cddl
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
..
compat/opensolaris dtrace: do not overload libproc flags 2023-08-01 12:28:50 -05:00
contrib/opensolaris dtrace: do not overload libproc flags 2023-08-01 12:28:50 -05:00
lib dtrace: do not overload libproc flags 2023-08-01 12:28:50 -05:00
sbin Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
share pkgbase: Put zfs utilities and lib in their own package 2022-10-26 19:46:30 +02:00
tests
usr.bin Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
usr.libexec cddl/*: add a WITH(OUT)_DTRACE option 2022-07-06 14:03:48 +01:00
usr.sbin dtrace: Revert the addition of WITH_DTRACE_ASAN 2023-08-01 13:03:10 -04:00
Makefile zfs: attach zpool_influxdb to build 2021-07-07 20:15:12 +02:00
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00