Re: acpithinkpad(4): port-replicator hkey event

2018-05-06 Thread Tobias Tschinkowitz
On Sun, May 06, 2018 at 09:31:55AM -0700, Mike Larkin wrote: > On Fri, May 04, 2018 at 08:28:04PM +0200, Tobias Tschinkowitz wrote: > > Hi @tech, > > > > i thought it would be a good idea to delegate the port-replicator > > docking event to the sysctl(2) hw.sensors substree so that if the > >

Re: acpithinkpad(4): port-replicator hkey event

2018-05-06 Thread Mike Larkin
On Fri, May 04, 2018 at 08:28:04PM +0200, Tobias Tschinkowitz wrote: > Hi @tech, > > i thought it would be a good idea to delegate the port-replicator > docking event to the sysctl(2) hw.sensors substree so that if the > thinkpad gets docked/undocked one could react to it by using > sensorsd(8).

Re: nuke unused ia6_createtime

2018-05-06 Thread Sebastian Benoit
ok Florian Obser(flor...@openbsd.org) on 2018.05.06 15:54:03 +0200: > OK? > > diff --git in6.c in6.c > index 82d1c23d4ae..e25843dd9a5 100644 > --- in6.c > +++ in6.c > @@ -637,7 +637,7 @@ in6_update_ifa(struct ifnet *ifp, struct in6_aliasreq > *ifra, > ia6->ia_ifa.ifa_addr =

[patch] Exit directly when allocating memory failed in usr.bin/systat/cpu.c

2018-05-06 Thread Nan Xiao
Hi tech@, In usr.bin/systat/cpu.c, if allocating memory failed, it seems no need to return value, call "err()" function may be better (refer usr.bin/systat/vmstat.c). Apologize if I'm wrong, thanks! Index: cpu.c === RCS file:

Re: [patch] add missing pledge to aucat(1).

2018-05-06 Thread Alexandre Ratchov
On Fri, May 04, 2018 at 05:31:22PM +0200, Theo Buehler wrote: > On Fri, May 04, 2018 at 09:03:38AM +0200, Alexandre Ratchov wrote: > > On Thu, May 03, 2018 at 09:48:13PM +0200, Jesper Wallin wrote: > > > Hi all, > > > > > > I just noticed that aucat(1) is missing pledge. However, I'm aware that

Re: [patch] add missing pledge to aucat(1).

2018-05-06 Thread Theo Buehler
On Sun, May 06, 2018 at 11:25:19AM +0200, Alexandre Ratchov wrote: > On Fri, May 04, 2018 at 05:31:22PM +0200, Theo Buehler wrote: > > On Fri, May 04, 2018 at 09:03:38AM +0200, Alexandre Ratchov wrote: > > > On Thu, May 03, 2018 at 09:48:13PM +0200, Jesper Wallin wrote: > > > > Hi all, > > > > >

Re: [PATCH] mv -P

2018-05-06 Thread Franco Fichtner
> On 5. May 2018, at 11:12 PM, Theo de Raadt wrote: > > A better answer would have been "Really sorry Theo and everyone, but I > always come off as a dick..." A double-standard is never a good idea. ;) Cheers, Franco

Re: [patch] add missing pledge to aucat(1).

2018-05-06 Thread Jesper Wallin
On Sun, May 06, 2018 at 11:25:19AM +0200, Alexandre Ratchov wrote: > slot_new() is used to determine device parameters, which are used to > call dev_open(), so it must be called first. > > The only way to do this is to save the list of files and then open the > device, then parse file headers,

nuke unused ia6_createtime

2018-05-06 Thread Florian Obser
OK? diff --git in6.c in6.c index 82d1c23d4ae..e25843dd9a5 100644 --- in6.c +++ in6.c @@ -637,7 +637,7 @@ in6_update_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra, ia6->ia_ifa.ifa_addr = sin6tosa(>ia_addr); ia6->ia_addr.sin6_family = AF_INET6;

Re: Symlinks for shared libraries

2018-05-06 Thread Christian Weisgerber
Mark Kettenis: > As we discussed some time ago, adding symlinks like > > libfoo.so -> libfoo.so.x.y > > brings us more in line with other ELF platforms and will allow us to > drop some OpenBSD-specific code from our linkers. It also makes it > possible for developers to easily revert a

Re: Symlinks for shared libraries

2018-05-06 Thread Theo de Raadt
Christian Weisgerber wrote: > Mark Kettenis: > > > As we discussed some time ago, adding symlinks like > > > > libfoo.so -> libfoo.so.x.y > > > > brings us more in line with other ELF platforms and will allow us to > > drop some OpenBSD-specific code from our linkers. It