CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2023/09/02 19:43:09
Modified files:
gnu/usr.bin/perl: MANIFEST Makefile.SH Makefile.bsd-wrapper
config.over pp_sys.c
Added files:
gnu/usr.bin/perl: gen_syscall_emulator.pl syscall_emulator.h
gnu/usr.bin/perl/t/op: syscall_emulator.t
Log message:
Replace perl's use of syscall(2) with a dispatcher to libc
This removes the ability to do direct syscalls from perl, instead calling
the appropriate libc functions.
Currently we generate the dispatcher via a perl script duing build.
requested by deraadt@
nits from espie@
education from miod@
infrastructure fixes from sthen@
many improvements and ok gkoehler@
Please commit soon. OK bluhm@