freebsd-skq/sys/arm64
Kyle Evans 5403f186a7 linuxolator: implement memfd_create syscall
This effectively mirrors our libc implementation, but with minor fudging --
name needs to be copied in from userspace, so we just copy it straight into
stack-allocated memfd_name into the correct position rather than allocating
memory that needs to be cleaned up.

The sealing-related fcntl(2) commands, F_GET_SEALS and F_ADD_SEALS, have
also been implemented now that we support them.

Note that this implementation is still not quite at feature parity w.r.t.
the actual Linux version; some caveats, from my foggy memory:

- Need to implement SHM_GROW_ON_WRITE, default for memfd (in progress)
- LTP wants the memfd name exposed to fdescfs
- Linux allows open() of an fdescfs fd with O_TRUNC to truncate after dup.
  (?)

Interested parties can install and run LTP from ports (devel/linux-ltp) to
confirm any fixes.

PR:		240874
Reviewed by:	kib, trasz
Differential Revision:	https://reviews.freebsd.org/D21845
2020-06-29 03:09:14 +00:00
..
acpica Ignore the SMMUv3 and PMCG interrupt controller in the IORT tables 2020-01-31 09:51:38 +00:00
arm64 Use EFI memory map to determine attributes for Acpi mappings on arm64. 2020-06-28 15:03:07 +00:00
broadcom Add support for bcm54213PE in brgphy. 2020-06-18 23:57:10 +00:00
cavium Rename the ThunderX CPU identification macros to include the X. This is the 2018-06-13 12:17:11 +00:00
cloudabi32 Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
cloudabi64 Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
conf ice(4): Introduce new driver for Intel E800 Ethernet controllers 2020-05-26 23:35:10 +00:00
coresight Complete the ACPI support for ARM Coresight: 2020-06-17 15:54:51 +00:00
include Use EFI memory map to determine attributes for Acpi mappings on arm64. 2020-06-28 15:03:07 +00:00
intel Add support for Intel Stratix 10 platform. 2019-09-13 16:50:57 +00:00
linux linuxolator: implement memfd_create syscall 2020-06-29 03:09:14 +00:00
qoriq Add GPIO support for QorIQ boards. 2020-05-25 14:55:37 +00:00
qualcomm Enable Qualcomm Debug Subsystem (QDSS) block on MSM8916 SoC. 2018-04-10 12:53:48 +00:00
rockchip Configure rx_delay/tx_delay values for RK3399/RK3328 GMAC 2020-06-28 21:11:10 +00:00