freebsd-dev/cddl/lib
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
..
drti pkgbase: Put dtrace in its own package 2021-06-19 17:49:31 +02:00
libavl Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
libctf Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
libdtrace dtrace: do not overload libproc flags 2023-08-01 12:28:50 -05:00
libicp Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
libicp_rescue Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
libnvpair Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
libspl Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
libtpool Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
libumem pkgbase: Put zfs utilities and lib in their own package 2022-10-26 19:46:30 +02:00
libuutil Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
libzfs Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
libzfs_core Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
libzfsbootenv Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
libzpool zfs: merge openzfs/zfs@feff9dfed 2023-06-10 19:31:17 +02:00
libzutil Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
pam_zfs_key pkgbase: Put zfs utilities and lib in their own package 2022-10-26 19:46:30 +02:00
tests
Makefile cddl/*: add a WITH(OUT)_DTRACE option 2022-07-06 14:03:48 +01:00
Makefile.inc