freebsd-dev/sys/compat/linux
Brooks Davis d718de812f Introduce kern_mmap_req().
This presents an extensible interface to the generic mmap(2)
implementation via a struct pointer intended to use a designated
initializer or compount literal.  We take advantage of the mandatory
zeroing of fields not listed in the initializer.

Remove kern_mmap_fpcheck() and use kern_mmap_req().

The motivation for this change is a desire to keep the core
implementation from growing an ever-increasing number of arguments
that must be specified in the correct order for the lowest-level
implementations.  In CheriBSD we have already added two more arguments.

Reviewed by:	kib
Discussed with:	kevans
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D23164
2020-03-04 21:27:12 +00:00
..
check_error.d
check_internal_locks.d Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_common.c Make linux(4) create /dev/shm. Linux applications often expect 2019-11-06 20:53:33 +00:00
linux_common.h Our bsd_to_linux_sockaddr() and linux_to_bsd_sockaddr() functions 2019-05-13 17:48:16 +00:00
linux_dtrace.h sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
linux_emul.c Follow the FreeBSD and implement PDEATH_SIG prctl ops in the Linuxulator. 2019-04-30 17:18:05 +00:00
linux_emul.h Implement PTRACE_O_TRACESYSGOOD. This makes Linux strace(1) work. 2019-05-19 12:58:44 +00:00
linux_errno.c Share Linux errno table with libsysdecode 2018-03-22 12:58:49 +00:00
linux_errno.inc Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
linux_event.c Linux epoll: Allow passing of any negative timeout value to epoll_wait 2019-11-24 20:51:09 +00:00
linux_event.h Linux epoll: Register events with zero event mask 2019-11-24 20:47:40 +00:00
linux_file.c Add kern_unmount() and use in Linuxulator. No functional changes. 2020-01-24 11:57:55 +00:00
linux_file.h Properly translate MNT_FORCE flag to Linux umount2(2). Previously 2020-01-20 12:16:32 +00:00
linux_fork.c schedlock 1/4 2019-12-15 21:11:15 +00:00
linux_futex.c linux futex_put(): do not touch futex after dropping our reference. 2020-02-07 22:21:44 +00:00
linux_futex.h linux: futex_mtx should follow futex_list 2019-10-18 12:25:33 +00:00
linux_getcwd.c cache: replace kern___getcwd with vn_getcwd 2020-02-01 20:38:38 +00:00
linux_ioctl.c Implement Linux BLKGETSIZE64 ioctl. 2019-12-29 12:22:11 +00:00
linux_ioctl.h Implement Linux BLKGETSIZE64 ioctl. 2019-12-29 12:22:11 +00:00
linux_ipc64.h Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_ipc.c Linux between 4.18 and 5.0 split IPC system calls. 2019-03-24 14:44:35 +00:00
linux_ipc.h Update syscall.master to 5.0. 2019-03-24 14:50:02 +00:00
linux_mib.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
linux_mib.h Add compat.linux.ignore_ip_recverr sysctl. This is a workaround 2020-01-28 13:51:53 +00:00
linux_misc.c linuxulator: Map scheduler priorities to Linux priorities. 2020-03-01 13:12:04 +00:00
linux_misc.h linuxulator: Map scheduler priorities to Linux priorities. 2020-03-01 13:12:04 +00:00
linux_mmap.c Introduce kern_mmap_req(). 2020-03-04 21:27:12 +00:00
linux_mmap.h Make linux(4) handle MAP_32BIT. 2020-01-24 12:08:23 +00:00
linux_persona.h Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
linux_signal.c Add kern_kill() and use it in Linuxulator. It's just a cleanup, 2019-12-13 18:44:02 +00:00
linux_signal.h Rationalize license text on Linuxolator files 2018-03-23 14:39:34 +00:00
linux_socket.c Make linuxulator warn about unsupported getsockopt/setsockopt flags. 2020-02-27 19:40:20 +00:00
linux_socket.h linuxulator: implement sendfile 2020-02-05 16:53:02 +00:00
linux_stats.c vfs: reimplement deferred inactive to use a dedicated flag (VI_DEFINACT) 2020-01-07 15:56:24 +00:00
linux_sysctl.c Quiet unused fn warning for linuxulator w/o legacy syscalls 2018-06-25 19:24:50 +00:00
linux_sysproto.h sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
linux_time.c Fix clock_gettime() and clock_getres() for cpu clocks: 2020-02-04 05:27:05 +00:00
linux_timer.c
linux_timer.h Use the kern_clock_nanosleep() to implement Linux clock_nanosleep() with 2017-04-02 18:16:00 +00:00
linux_uid16.c compat/linux: Remove obsoleted and somewhat confusing comments related to COMPAT_43. 2019-08-11 19:17:29 +00:00
linux_util.c Add compat.linux.emul_path, so it can be set to something other 2019-12-16 20:07:04 +00:00
linux_util.h Add compat.linux.emul_path, so it can be set to something other 2019-12-16 20:07:04 +00:00
linux_vdso.c Fix the last few cases that grab without busy or valid. The grab functions must 2019-12-02 22:38:25 +00:00
linux_vdso.h Avoid using [LINUX_]SHAREDPAGE constant directly in the vdso code. 2017-07-30 21:24:20 +00:00
linux_videodev2_compat.h
linux_videodev_compat.h
linux.c Make linux(4) create /dev/shm. Linux applications often expect 2019-11-06 20:53:33 +00:00
linux.h Make linux(4) create /dev/shm. Linux applications often expect 2019-11-06 20:53:33 +00:00
stats_timing.d Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00
trace_futexes.d Linuxolator whitespace cleanup 2018-02-05 17:29:12 +00:00