| 66cc116b | 16-Jun-2025 |
Jessica Clarke <jrtc27@FreeBSD.org> |
libprocstat: Drop zfs_defs.c hack, including its _KERNEL define
Now that we have a _WANT_ZNODE we can use that instead of defining _KERNEL, and we're able to move the code back into zfs.c using a re
libprocstat: Drop zfs_defs.c hack, including its _KERNEL define
Now that we have a _WANT_ZNODE we can use that instead of defining _KERNEL, and we're able to move the code back into zfs.c using a real znode_t pointer.
Whilst here, tidy the includes.
Reviewed by: imp, kib, markj Differential Revision: https://reviews.freebsd.org/D50721
show more ...
|
| 1c3d6532 | 14-Mar-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
libprocstat: add knowledge about NT_PROCSTAT_KQUEUES core file section
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D4
libprocstat: add knowledge about NT_PROCSTAT_KQUEUES core file section
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D49372
show more ...
|
| 248fe3d3 | 16-Oct-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libprocstat: improve conditional for 32-bit compat
Include support for translating 32-bit auxv vectors on non-64-bit platforms that aren't riscv (which has no 32-bit ABI support and probably never w
libprocstat: improve conditional for 32-bit compat
Include support for translating 32-bit auxv vectors on non-64-bit platforms that aren't riscv (which has no 32-bit ABI support and probably never will).
Reviewed by: markj Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D42201
show more ...
|
| 8f06fabe | 16-Oct-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libprocstat: copy all the 32-bit auxv entries
Use source struct size not the destination struct size so we copy all the auxv entries, not just the first half of them.
Fix a style issue on an adjace
libprocstat: copy all the 32-bit auxv entries
Use source struct size not the destination struct size so we copy all the auxv entries, not just the first half of them.
Fix a style issue on an adjacent line.
Reviewed by: markj Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D42200
show more ...
|
| 72a4ee26 | 16-Oct-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libprocstat: make sv_name not static
Making this variable static makes is_elf32_sysctl() and callers thread unsafe.
Use a less absurd length for sv_name. The longest name in the system is "FreeBSD
libprocstat: make sv_name not static
Making this variable static makes is_elf32_sysctl() and callers thread unsafe.
Use a less absurd length for sv_name. The longest name in the system is "FreeBSD ELF64 V2" which tips the scales at 16+1 bytes. We'll almost certainly have other problems if we exceed 32 characters.
Reviewed by: markj Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D42199
show more ...
|