CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2025/10/30 12:23:30

Modified files:
        sys/arch/alpha/alpha: sys_machdep.c 
        sys/arch/amd64/amd64: sys_machdep.c 
        sys/arch/arm/arm: sys_machdep.c 
        sys/arch/arm64/arm64: sys_machdep.c 
        sys/arch/hppa/hppa: sys_machdep.c 
        sys/arch/i386/i386: sys_machdep.c 
        sys/arch/luna88k/luna88k: machdep.c 
        sys/arch/mips64/mips64: sys_machdep.c 
        sys/arch/powerpc/powerpc: sys_machdep.c 
        sys/arch/powerpc64/powerpc64: sys_machdep.c 
        sys/arch/riscv64/riscv64: machdep.c 
        sys/arch/sh/sh : sys_machdep.c 
        sys/arch/sparc64/sparc64: sys_machdep.c 
        sys/kern       : kern_pledge.c 

Log message:
Allow sysarch(RISCV_SYNC_ICACHE) & friends under pledge("prot_exec")

Architectures where syarch(2) provides an instruction cache
synchronization request: arm, mips64 and riscv64. Any other sysarch(2)
is still forbidden under pledge(2).

This will let firefox use its JIT on riscv64 (the JIT currently disabled
in the port).

ok semarie@ deraadt@

Reply via email to