freebsd-nq/sys/arm64/include
David Chisnall cf98bc28d3 Pass the syscall number to capsicum permission-denied signals
The syscall number is stored in the same register as the syscall return
on amd64 (and possibly other architectures) and so it is impossible to
recover in the signal handler after the call has returned.  This small
tweak delivers it in the `si_value` field of the signal, which is
sufficient to catch capability violations and emulate them with a call
to a more-privileged process in the signal handler.

This reapplies 3a522ba1bc with a fix for
the static assertion failure on i386.

Approved by:	markj (mentor)

Reviewed by:	kib, bcr (manpages)

Differential Revision: https://reviews.freebsd.org/D29185
2021-07-16 18:06:44 +01:00
..
_align.h
_bus.h
_inttypes.h
_limits.h
_stdint.h
_types.h Reduce code duplication in machine/_types.h 2021-06-14 16:30:16 +01:00
acpica_machdep.h
armreg.h Update the SCTLR_EL1 register definitions 2021-07-14 19:29:09 +00:00
asm.h Handle functions that use a nop in the arm64 fbt 2021-03-03 14:18:03 +00:00
atomic.h Rename _cscan_atomic.h and _cscan_bus.h to atomic_san.h and bus_san.h 2021-03-08 12:39:06 -05:00
bus_dma_impl.h o Add the domain member to the struct bus_dma_tag_common as required by 2020-10-27 15:29:53 +00:00
bus_dma.h
bus.h Add a way to map arm64 non-posted device memory 2021-05-01 06:01:20 +00:00
clock.h
counter.h
cpu.h
cpufunc.h
csan.h arm64: Improve DDB backtrace support 2021-02-01 14:15:57 +00:00
db_machdep.h arm64: add definition for IS_SSTEP_TRAP() 2021-03-01 10:04:23 -04:00
debug_monitor.h
disassem.h
dump.h
efi.h smbios: support getting address from EFI 2021-04-07 14:46:29 -05:00
elf.h arm64: fix incorrect HWCAP definitions 2020-09-08 15:08:20 +00:00
endian.h Consolidate machine/endian.h definitions 2021-03-26 19:00:22 -03:00
exec.h
float.h
floatingpoint.h
fpu.h
frame.h
gdb_machdep.h gdb: report specific stop reason for watchpoints 2021-03-30 11:36:41 -03:00
hypervisor.h Update the arm64 HCR_EL2 registers 2021-07-14 19:28:16 +00:00
ieeefp.h
ifunc.h
in_cksum.h
intr.h arm64: Increase NIRQ to 16k 2020-10-15 03:12:00 +00:00
iodev.h
iommu.h Introduce IOMMU support for arm64 platform. 2020-11-16 21:55:52 +00:00
kdb.h arm64: implement kdb watchpoint functions 2021-03-29 12:05:43 -03:00
machdep.h Use L2 blocks when in the identity map 2021-03-03 14:18:03 +00:00
md_var.h Replace the arm64 initial_fpcr with a macro 2021-03-23 17:12:43 +00:00
memdev.h
metadata.h
minidump.h Sparsify the vm_page_dump bitmap 2020-09-21 22:21:59 +00:00
ofw_machdep.h
param.h arm64: Stop setting VM_BCACHE_SIZE_MAX 2021-01-19 20:34:35 -05:00
pcb.h arm64: remove pcb_pc 2021-01-08 14:53:44 -04:00
pci_cfgreg.h
pcpu_aux.h
pcpu.h Remove PCPU_INC 2021-03-20 19:23:59 -07:00
pmap.h Move IOMMU code to a separate pmap module and switch ARM System MMU 2021-04-27 19:16:09 +01:00
pmc_mdep.h hwpmc_arm64: accept raw event codes for PMC_OP_PMCALLOCATE 2021-06-30 16:47:09 -03:00
proc.h Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
procctl.h
profile.h
psl.h
pte.h arm64: eliminate a duplicated #define 2021-06-27 01:44:58 -05:00
ptrace.h
reg.h arm64: extend struct db_reg to include watchpoint registers 2021-02-17 12:05:00 -04:00
reloc.h
resource.h
runq.h
setjmp.h
sf_buf.h
sigframe.h
signal.h
smp.h
stack.h arm64: Improve DDB backtrace support 2021-02-01 14:15:57 +00:00
stdarg.h
sysarch.h
trap.h
ucontext.h
undefined.h
vdso.h
vfp.h Replace the arm64 initial_fpcr with a macro 2021-03-23 17:12:43 +00:00
vm.h Add a way to map arm64 non-posted device memory 2021-05-01 06:01:20 +00:00
vmparam.h Clean up early arm64 pmap code 2021-05-24 09:22:19 +00:00