Re: [PATCH] portgen(1) man page: Add py type

2019-05-12 Thread Stuart Henderson
As far as plists go, unless the port only supports py2 or only supports py3, it ought to generate the plist with FLAVOR=python3 and then prefix any lines ending in ${MODPY_PYCACHE}/ with ${MODPY_COMMENT}. -- Sent from a phone, apologies for poor formatting. On 12 May 2019 21:30:34 Andrew Hewus

ftp.usa.openbsd.org mirror unavailable Monday afternoon through Wednesday morning

2019-05-12 Thread Kurt Mosiejczuk
RIT is doing two overnight power outages again starting 5pm (EDT) Monday May 13th. Accordingly, ftp5.usa.openbsd.org (which is also ftp3.usa.openbsd.org and ftp.usa.openbsd.org) will be down from Monday Afternoon until the power comes back on Wednesday morning on May 15th. --Kurt Mosiejczuk

Re: enable cy(4) by default on amd64

2019-05-12 Thread Theo de Raadt
Does this driver correctly support cua(4) device nodes? If it doesn't, then my position would be "no, that is a minimum required featureset". And 'd' dialout support isn't the same, it must be cua. (Quirky different behaviours between tty devices are super annoying and end up as complaints on the

enable cy(4) by default on amd64

2019-05-12 Thread Jan Klemkow
Hi, I use tree cy(4) cards on amd64 for several releases. Its totally stable and works fine beside known bugs already mentioned in the manpage. Thus, I would prefer to enabled it by default in amd64 as it is in i386. Bye, Jan Index: arch/amd64/conf/GENERIC =

sv(4): fix free with zero size

2019-05-12 Thread Jan Klemkow
Hi, The following diff fixes "free with zero size" in sv(4). Builds and stats the kernel with sv at pci and audio at sv enabled. bye, Jan Index: dev/pci/sv.c === RCS file: /cvs/src/sys/dev/pci/sv.c,v retrieving revision 1.34 diff -

ssh: scp -A host1:file host2:

2019-05-12 Thread Christian Weisgerber
[Time to take this for ok-shopping.] scp's ability to copy between two remote hosts has always seemed of very limited use to me, since the first remote host must be able to establish an ssh connection to the second host. This is really a case where agent forwarding comes in handy. Currently you

ssh: Place algorithm at head of default list

2019-05-12 Thread Christian Weisgerber
[Time to take this for ok-shopping.] ssh_config(5) and sshd_config(5) already allow adding '+' and removing '-' an algorithm from the default list. Oddly, I mostly find myself wanting to prefer an algorithm, i.e., place it at the head of the list without removing anything. The patch below adds t

Re: enable pfctl to flush all rules and tables

2019-05-12 Thread Klemens Nanni
On Wed, Apr 17, 2019 at 01:28:57AM +0200, Alexandr Nedvedicky wrote: > The idea has been already discussed few weeks ago [1]. Reusing "-a '*'" option > to tell pfctl to flush everything is sthen's idea [2]. The patch below makes > pfctl to understand > pfctl -a '*' -FT > pfctl -a '*' -Fr >

Reduce the scope of SCHED_LOCK()

2019-05-12 Thread Martin Pieuchot
People started complaining that the SCHED_LOCK() is contended. Here's a first round at reducing its scope. Diff below introduces a per-process mutex to protect time accounting fields accessed in tuagg(). tuagg() is principally called in mi_switch() where the SCHED_LOCK() is currently held. Movi

Re: vm.conf: boot-device

2019-05-12 Thread Mike Larkin
On Sun, May 12, 2019 at 08:50:51PM +0200, Anton Lindqvist wrote: > On Wed, May 08, 2019 at 01:02:10PM -0700, Mike Larkin wrote: > > On Wed, May 08, 2019 at 09:41:42PM +0200, Anton Lindqvist wrote: > > > On Wed, May 08, 2019 at 07:19:45PM +0200, Reyk Floeter wrote: > > > > On Wed, May 08, 2019 at 06

Re: [PATCH] portgen(1) man page: Add py type

2019-05-12 Thread Andrew Hewus Fresh
Kurt, you're welcome to commit this whenever you think it's good enough. I say, with the improvements this week, OK afresh1@ I'm not quite sure what "plist smarts" it needs, but let me know if there is something I'm missing. On Sun, Feb 03, 2019 at 11:44:41PM +, Stuart Henderson wrote: > I as

Re: vm.conf: boot-device

2019-05-12 Thread Anton Lindqvist
On Wed, May 08, 2019 at 01:02:10PM -0700, Mike Larkin wrote: > On Wed, May 08, 2019 at 09:41:42PM +0200, Anton Lindqvist wrote: > > On Wed, May 08, 2019 at 07:19:45PM +0200, Reyk Floeter wrote: > > > On Wed, May 08, 2019 at 06:47:53PM +0200, Anton Lindqvist wrote: > > > > Hi, > > > > A first stab a

selwakeup() w/o tfind()

2019-05-12 Thread Martin Pieuchot
selwakeup() does a filtered wakeup because all threads waiting in poll(2) or select(2) are blocking on the same wait channel. The wakeup is currently implemented by first grabbing a reference to a thread via tfind(). This makes removing the KERNEL_LOCK() complicated because we need to ensure the

schedclock vs spinning

2019-05-12 Thread Martin Pieuchot
As discussed in the hackroom. If a thread cross the tick boundary at which schedclock() is executed while spinning do not account for such time as "being running". This has two benefits: - reduce possible contention on the SCHED_LOCK() when many threads are spinning on the KERNEL_LOCK()

Re: net80211: fix userflags + stayauth

2019-05-12 Thread Stefan Sperling
On Sat, May 11, 2019 at 12:27:54PM -0400, Stefan Sperling wrote: > This fixes ifconfig 'nwflags' hiddennwid and nobridge; these flags > currently overlap with other flags, such as the AUTO_JOIN flag and > hence can't be used. > > While here, add another flag which makes the interface ignore deauth

Re: Better acpi(4) support

2019-05-12 Thread Mark Kettenis
> Date: Sun, 12 May 2019 03:36:14 +0200 (CEST) > From: Mark Kettenis > > We encountered a machine that used the "extended" gasio description of > the ACPI PM registers, which is something we currently don't support. > This diff adds such support and with this diff ACPI support gets > enabled and

Re: [patch] cwm: filter duplicate hostnames in ssh menu

2019-05-12 Thread Bruno Flueckiger
On 29.04., Okan Demirmen wrote: > On Fri 2019.04.26 at 07:15 +0200, Bruno Fl?ckiger wrote: > > Hi, > > > > The ssh menu of cwm(1) doesn't filter duplicated hostnames when reading > > them from ~/.ssh/known_hosts. This patch makes sure each hostname is > > only displayed once to the menu. > > Sure,

Re: SMR lists for bridge(4)

2019-05-12 Thread Martin Pieuchot
On 10/05/19(Fri) 10:50, Martin Pieuchot wrote: > On 08/05/19(Wed) 17:09, Martin Pieuchot wrote: > > Diff below pushes the KERNEL_LOCK() further down into bridge(4). > > > > With it bridge_enqueue() now only takes the lock for rules. Rules could > > easily be protected by a mutex but I wanted to k

Re: [patch] cwm: filter duplicate hostnames in ssh menu

2019-05-12 Thread Bruno Flueckiger
On 01.05., Marcus MERIGHI wrote: > Hello, > > o...@demirmen.com (Okan Demirmen), 2019.04.29 (Mon) 16:19 (CEST): > > On Fri 2019.04.26 at 07:15 +0200, Bruno Fl?ckiger wrote: > > > Hi, > > > > > > The ssh menu of cwm(1) doesn't filter duplicated hostnames when reading > > > them from ~/.ssh/known_hos

Re: ripd: typo

2019-05-12 Thread Claudio Jeker
On Sun, May 12, 2019 at 10:17:13AM +0200, Denis Fondras wrote: > additional "s" laying around. OK > Index: printconf.c > === > RCS file: /cvs/src/usr.sbin/ripd/printconf.c,v > retrieving revision 1.7 > diff -u -p -r1.7 printconf.c >

Re: chown first drm render node in xenodm

2019-05-12 Thread Matthieu Herrb
On Sun, May 12, 2019 at 09:08:23PM +1000, Jonathan Gray wrote: > This makes vulkan work as a normal user without having to change > ownership of the device by hand. ok matthieu@ > > Index: GiveConsole > === > RCS file: /cvs/xenocara/

chown first drm render node in xenodm

2019-05-12 Thread Jonathan Gray
This makes vulkan work as a normal user without having to change ownership of the device by hand. Index: GiveConsole === RCS file: /cvs/xenocara/app/xenodm/config/GiveConsole,v retrieving revision 1.2 diff -u -p -r1.2 GiveConsole ---

ripd: typo

2019-05-12 Thread Denis Fondras
additional "s" laying around. Index: printconf.c === RCS file: /cvs/src/usr.sbin/ripd/printconf.c,v retrieving revision 1.7 diff -u -p -r1.7 printconf.c --- printconf.c 31 Dec 2018 20:34:16 - 1.7 +++ printconf.c 12 May 2019 0