freebsd-nq/sys/fs/devfs
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
..
devfs_devs.c devfs(4): defer freeing until we drop devmtx ("cdev") 2020-12-29 13:47:36 +00:00
devfs_dir.c r326394 is calling malloc with M_WAITOK under a lock, revert for now 2017-11-30 14:06:54 +00:00
devfs_int.h Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
devfs_rule.c
devfs_vfsops.c vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
devfs_vnops.c devfs: fix use count leak when using TIOCSCTTY 2021-02-09 01:54:21 +00:00
devfs.h Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00