sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Move most of the contents of opt_compat.h to opt_global.h.opt_compat.h is mentioned in nearly 180 files. In-progress networkdriver compabibility improvements may add over 100 more so this isclose
Move most of the contents of opt_compat.h to opt_global.h.opt_compat.h is mentioned in nearly 180 files. In-progress networkdriver compabibility improvements may add over 100 more so this iscloser to "just about everywhere" than "only some files" per theguidance in sys/conf/options.Keep COMPAT_LINUX32 in opt_compat.h as it is confined to a subset ofsys/compat/linux/*.c. A fake _COMPAT_LINUX option ensure opt_compat.his created on all architectures.Move COMPAT_LINUXKPI to opt_dontuse.h as it is only used to control theset of compiled files.Reviewed by: kib, cem, jhb, jtlSponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D14941
show more ...
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Initial import of character device in userspace support for FreeBSD.The CUSE library is a wrapper for the devfs kernel functionality whichis exposed through /dev/cuse . In order to function the CUS
Initial import of character device in userspace support for FreeBSD.The CUSE library is a wrapper for the devfs kernel functionality whichis exposed through /dev/cuse . In order to function the CUSE kernelcode must either be enabled in the kernel configuration file or loadedseparately as a module. Currently none of the committed items areconnected to the default builds, except for installing the neededheader files. The CUSE code will be connected to the default world andkernel builds in a follow-up commit.The CUSE module was written by Hans Petter Selasky, somewhat inspiredby similar functionality found in FUSE. The CUSE library can be usedfor many purposes. Currently CUSE is used when running Linux kerneldrivers in user-space, which need to create a character device node tocommunicate with its applications. CUSE has full support for almostall devfs functionality found in the kernel: - kevents - read - write - ioctl - poll - open - close - mmap - private per file handle dataRequested by several people. Also see "multimedia/cuse4bsd-kmod" inports.