Re: unwind(8): unified cache

2019-12-01 Thread Florian Obser
On Sat, Nov 30, 2019 at 12:20:34PM +0100, Florian Obser wrote: > So far all libunbound based resolvers had their own cache. That's a > bit wasteful and slows things down unecessarily when we need to switch > between strategies. > > This lets all of them run off of the same cache. > > otto@

Re: uvm_mapanon() & trylock

2019-12-01 Thread Ted Unangst
Martin Pieuchot wrote: > On 08/11/19(Fri) 17:54, Martin Pieuchot wrote: > > uvm_mapanon() is called in two occasions: mmap(2) and sigaltstack(2). > > Both code paths are obviously in process context an can sleep. That > > explains why none of them set the UVM_FLAG_TRYLOCK when calling such > >

Re: unwind and split-horizon DNS

2019-12-01 Thread Otto Moerbeek
On Sat, Nov 30, 2019 at 08:39:36AM +0100, Otto Moerbeek wrote: > On Fri, Nov 29, 2019 at 11:37:40PM +0100, Björn Ketelaars wrote: > > > On Fri 29/11/2019 21:35, Otto Moerbeek wrote: > > > On Fri, Nov 29, 2019 at 10:27:57AM +0100, Florian Obser wrote: > > > > > > > On Fri, Nov 29, 2019 at

Re: uvm_mapanon() & trylock

2019-12-01 Thread Martin Pieuchot
On 08/11/19(Fri) 17:54, Martin Pieuchot wrote: > uvm_mapanon() is called in two occasions: mmap(2) and sigaltstack(2). > Both code paths are obviously in process context an can sleep. That > explains why none of them set the UVM_FLAG_TRYLOCK when calling such > function. > > The diff below

execve: EISDIR -> EACCES

2019-12-01 Thread Christian Weisgerber
I noticed this in a failing tcsh regression test where it checks what happens when you try to execute a directory: -testsuite.dir/177/subdir: Permission denied. +testsuite.dir/177/subdir: Is a directory. POSIX doesn't list EISDIR as a possible error for execve(). Instead: | [EACCES] | The