CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2023/01/23 17:12:03
Modified files: sys/kern : sys_process.c Log message: ptrace reads/writes memory using uvm_io, which generates an temporary alias mapping using uvm_map_extract. With xonly now operational, this alias mapping is created with minprot, which for text will be xonly, and the kernel cannot read it (unless the architecture has implied read for exec from kernel pov). Pass UVM_IO_FIXPROT to create the alias with maxprot instead. ok kettenis