freebsd-nq/usr.sbin/makefs
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
..
cd9660 Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
ffs Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
msdos Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
tests
cd9660.c
cd9660.h Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
ffs.c Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
ffs.h
Makefile
Makefile.depend
makefs.8
makefs.c
makefs.h Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
msdos.c Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
msdos.h Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
mtree.c usr.sbin/makefs: fix use-after-free in read_mtree_keywords() 2021-02-10 15:24:25 +00:00
walk.c