Re: Very little patch : ref getrtable in rdomain

2021-05-19 Thread Theo de Raadt
Stuart Henderson wrote: > System calls are not a stable interface in OpenBSD. system calls are stable API. The syscall numbers are not stable ABI. The parameters of syscall() are very much not stable, syscall() is not API access, it is an interface noone should use, as can be witnessed by our

Re: Very little patch : ref getrtable in rdomain

2021-05-19 Thread Stuart Henderson
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 formatti

Re: Very little patch : ref getrtable in rdomain

2021-05-19 Thread Sven F.
On Wed, May 19, 2021 at 12:21 PM Jason McIntyre wrote: > On Wed, May 19, 2021 at 10:55:11AM -0400, Sven F. wrote: > > Index: rdomain.4 > > === > > RCS file: /cvs/src/share/man/man4/rdomain.4,v > > retrieving revision 1.17 > > diff -u

Re: Very little patch : ref getrtable in rdomain

2021-05-19 Thread Jason McIntyre
On Wed, May 19, 2021 at 10:55:11AM -0400, Sven F. 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 -

Re: Very little patch : ref getrtable in rdomain

2021-05-19 Thread Sven F.
On Wed, May 19, 2021 at 10:55 AM Sven F. 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 - 1.17

Very little patch : ref getrtable in rdomain

2021-05-19 Thread Sven F.
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 - 1.17 +++ rdomain.4 19 May 2021 14:51:37 - @@ -139,7 +139,8 @@

Re: Little patch

2016-01-26 Thread David CARLIER
Nevermind otto yook care of it already :) On 26 January 2016 at 15:39, David CARLIER wrote: > Hi all, > > I just had a short chat with otto and would like to know if this little > patch would be considered. The reasoning is while debugging a program I got > a segmentation fault

Little patch

2016-01-26 Thread David CARLIER
Hi all, I just had a short chat with otto and would like to know if this little patch would be considered. The reasoning is while debugging a program I got a segmentation fault inside the loop as pool was NULL probably due to the fact that malloc_init was not called first. Thanks in advance