On 2023/07/13 00:57, George Koehler wrote: > On Sun, 9 Jul 2023 13:29:58 -0700 > Andrew Hewus Fresh <and...@afresh1.com> wrote: > > > Here is a patch to replace perl(1)'s use of syscall(2) with a dispatcher > > that will call the libc function instead. > > patch(1) didn't "chmod +x gen_syscall_emulator.pl", but I needed to > do so to get around this this error,
There shouldn't be 'x' bits in files committed to the tree, so the Makefile should explicitly run this with perl. > $ make -f Makefile.bsd-wrapper > /usr/src/gnu/usr.bin/perl/gen_syscall_emulator.pl > syscall_emulator.c > /bin/sh: /usr/src/gnu/usr.bin/perl/gen_syscall_emulator.pl: cannot execute - > Permission denied > *** Error 126 in /usr/src/gnu/usr.bin/perl (Makefile.bsd-wrapper:51 > 'syscall_emulator.c') >