Re: execve -1 errno 12 Cannot allocate memory

2021-02-02 Thread Theo de Raadt
Philippe Meunier wrote: > Theo de Raadt wrote: > >Otto Moerbeek wrote: > >> Fixing a particluar issue is fine, but more important is an assessment > >> it does not break other things. In particular, does this limit the VM > >> for data available to any program (which is already quite limited on

Re: execve -1 errno 12 Cannot allocate memory

2021-02-02 Thread Philippe Meunier
Theo de Raadt wrote: >Otto Moerbeek wrote: >> Fixing a particluar issue is fine, but more important is an assessment >> it does not break other things. In particular, does this limit the VM >> for data available to any program (which is already quite limited on >> i386)? MAXTSIZ is used in one

Re: [External] : pf route-to: only run pf_test when packets enter and leave the stack

2021-02-02 Thread David Gwynne
On Tue, Feb 02, 2021 at 11:30:12AM +0100, Alexandr Nedvedicky wrote: > Hello, > > > On Tue, Feb 02, 2021 at 02:52:52PM +1000, David Gwynne wrote: > > > > however, like most things relating to route-to/reply-to/dup-to, im > > pretty sure at this point it's not used a lot, so the impact is

Re: uhidpp(4): logitech hid++ device driver

2021-02-02 Thread Marcus Glocker
On Tue, Feb 02, 2021 at 07:55:17PM +0100, Anton Lindqvist wrote: [...] > > > However, it would ease development by getting this in and continue > > > development in tree. Anyone willing to ok? > > > > The reason why I'm currently reluctant to ok this is because of the > > uhidev_set_intr() part

Re: uhidpp(4): logitech hid++ device driver

2021-02-02 Thread Anton Lindqvist
On Tue, Feb 02, 2021 at 01:00:48PM +0100, Marcus Glocker wrote: > On Tue, Feb 02, 2021 at 08:23:29AM +0100, Anton Lindqvist wrote: > > > On Sat, Jan 30, 2021 at 01:18:07PM +0200, Ville Valkonen wrote: > > > On Sat, 2021-01-30 at 08:36 +0100, Anton Lindqvist wrote: > > > > On Fri, Jan 29, 2021 at

rpki-client rework repository handling

2021-02-02 Thread Claudio Jeker
For RRDP support the repository code needs to be cleaned up and adjusted. Instead of working with host/module store the URI (repo->repo) and the local path (repo->local). This simplifies the communication between rpki-client main process and the rsync process a fair bit. Also introduce mkpath()

ddb: resize when new console attaches

2021-02-02 Thread joshua stein
This way we aren't wrapping ddb output lines halfway across the screen on a modern console. diff --git sys/ddb/db_output.c sys/ddb/db_output.c index 77fd0e34944..72b9a24e761 100644 --- sys/ddb/db_output.c +++ sys/ddb/db_output.c @@ -252,3 +252,10 @@ stacktrace_print(struct stacktrace *st, int

snmpd: add transaction id to snmp_message

2021-02-02 Thread Martijn van Duren
Carefully taking some first looks into readding agentx master support to snmpd. One of the things we're going to need is a transaction id as per RFC2741 section 6.1 subsection h.transactionID: The transaction ID uniquely identifies, for a given session, the single SNMP

Re: uhidpp(4): logitech hid++ device driver

2021-02-02 Thread Marcus Glocker
On Tue, Feb 02, 2021 at 08:23:29AM +0100, Anton Lindqvist wrote: > On Sat, Jan 30, 2021 at 01:18:07PM +0200, Ville Valkonen wrote: > > On Sat, 2021-01-30 at 08:36 +0100, Anton Lindqvist wrote: > > > On Fri, Jan 29, 2021 at 10:15:05PM +0200, Ville Valkonen wrote: > > > > Hi, > > > > > > > > I

Re: iscsid initiator cleanup

2021-02-02 Thread Claudio Jeker
On Tue, Jan 19, 2021 at 02:22:14PM +0100, Claudio Jeker wrote: > In iscsid the initiator is kind of a singleton. So lets make use of this > and remove the initiator argument from all function calls. > > This compiles for me but I can't currently test this out. Updated version for -current. --

Re: [External] : pf route-to: only run pf_test when packets enter and leave the stack

2021-02-02 Thread Alexandr Nedvedicky
Hello, On Tue, Feb 02, 2021 at 02:52:52PM +1000, David Gwynne wrote: > > however, like most things relating to route-to/reply-to/dup-to, im > pretty sure at this point it's not used a lot, so the impact is minimal. > a lot of changes in this space have already been made, so adding another >

Re: sleep_setup/finish simplification

2021-02-02 Thread Claudio Jeker
On Mon, Feb 01, 2021 at 04:25:47PM +0100, Martin Pieuchot wrote: > On 08/12/20(Tue) 10:06, Martin Pieuchot wrote: > > Diff below aims to simplify the API to put a thread on a sleep queue and > > reduce it to the following: > > > > sleep_setup(); > > /* check condition or release lock */ >