1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00
freebsd/lib/libufs
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
..
block.c Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
bread.3
cgread.3 Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
cgroup.c Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
getinode.3 Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
inode.c Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
libufs.3 Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
libufs.h Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
Makefile
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
sblock.c Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
sbread.3 Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
type.c Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
ufs_disk_close.3