freebsd-nq/lib/libprocstat
Andriy Gapon 8a719b0cee libprocstat: fix ZFS support
First of all, znode_phys_t hasn't been used for storing file attributes
for a long time now.  Modern ZFS versions use a System Attribute table
with a flexible layout.  But more importantly all the required
information is available in znode_t itself.

It's not easy to include zfs_znode.h in userland without breaking code
because the most interesting parts of the header are kernel-only. And
hardcoding field offsets is too fragile.  So, I created a new
compilation unit that includes zfs_znode.h using some mild kludges to
get it and its dependencies to compile in userland.  The compilation
unit exports interesting field offsets and does not have any other code.

PR:		194117
Reviewed by:	markj
MFC after:	2 weeks
Sponsored by:	Panzura
Differential Revision: https://reviews.freebsd.org/D24941
2020-05-22 11:20:23 +00:00
..
zfs libprocstat: fix ZFS support 2020-05-22 11:20:23 +00:00
cd9660.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
common_kvm.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
common_kvm.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
core.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
core.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libprocstat_compat.c Bump SPECNAMELEN to MAXNAMLEN. 2019-01-27 00:46:06 +00:00
libprocstat_internal.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libprocstat.3 libprocstat(3): fix arguments list for procstat_getargv(3) and procstat_getenvv(3) 2017-07-29 22:25:45 +00:00
libprocstat.c libprocstat: fix reading of file descriptor table via kvm 2020-05-21 13:46:30 +00:00
libprocstat.h Print type designator 'D' for the KF_TYPE_DEV files. 2018-12-03 23:42:04 +00:00
Makefile libprocstat: fix ZFS support 2020-05-22 11:20:23 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
msdosfs.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
smbfs.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
Symbol.map Bump SPECNAMELEN to MAXNAMLEN. 2019-01-27 00:46:06 +00:00
udf.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
zfs_defs.c libprocstat: fix ZFS support 2020-05-22 11:20:23 +00: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