freebsd-nq/lib/libprocstat
Konstantin Belousov d485c77f20 Remove #define _KERNEL hacks from libprocstat
Make sys/buf.h, sys/pipe.h, sys/fs/devfs/devfs*.h headers usable in
userspace, assuming that the consumer has an idea what it is for.
Unhide more material from sys/mount.h and sys/ufs/ufs/inode.h,
sys/ufs/ufs/ufsmount.h for consumption of userspace tools, with the
same caveat.

Remove unacceptable hack from usr.sbin/makefs which relied on sys/buf.h
being unusable in userspace, where it override struct buf with its own
definition.  Instead, provide struct m_buf and struct m_vnode and adapt
code to use local variants.

Reviewed by:	mckusick
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D28679
2021-02-21 11:38:21 +02:00
..
zfs Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
cd9660.c
common_kvm.c Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
common_kvm.h
core.c
core.h
libprocstat_compat.c
libprocstat_internal.h
libprocstat.3 libprocstat.3: Correct two occurrences of kvm_getprocs to procstat_getprocs 2020-11-26 22:49:05 +00:00
libprocstat.c Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
libprocstat.h Decode and report native eventfd descriptors from libprocstat and procstat. 2020-12-27 12:57:27 +02:00
Makefile Avoid adding duplicates to SRCS/OBJS/SOBJS/POBJS 2020-08-24 09:20:33 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
msdosfs.c
smbfs.c
Symbol.map
udf.c
zfs_defs.c Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
zfs_defs.h libprocstat: fix ZFS support 2020-05-22 11:20:23 +00:00
zfs.c libprocstat: fix ZFS support 2020-05-22 11:20:23 +00:00