System calls are not a stable interface in OpenBSD. And aren't they now blocked except from libc or am I mistaken? The way to do this from Perl is to write an extension in C. You can probably crib from src/gnu/usr.bin/perl/cpan/OpenBSD-Pledge.

--
 Sent from a phone, apologies for poor formatting.
On 19 May 2021 16:16:02 "Sven F." <sven.falem...@gmail.com> wrote:

On Wed, May 19, 2021 at 10:55 AM Sven F. <sven.falem...@gmail.com> wrote:

Index: rdomain.4
===================================================================
RCS file: /cvs/src/share/man/man4/rdomain.4,v
retrieving revision 1.17
diff -u -p -r1.17 rdomain.4
--- rdomain.4   24 Sep 2020 11:05:32 -0000      1.17
+++ rdomain.4   19 May 2021 14:51:37 -0000
@@ -139,7 +139,8 @@ Delete rdomain 4 again:
 .Xr route 4 ,
 .Xr pf.conf 5 ,
 .Xr ifconfig 8 ,
-.Xr route 8
+.Xr route 8,
+.Xr getrtable 2
 .Sh HISTORY
 .Ox
 support for

PS:

Is it possible to setrtable in perl script ?



syscall(310, XX);

Reply via email to