pci(4): PCIOCSETVGA: tsleep(9) -> tsleep_nsec(9)

2020-01-14 Thread Scott Cheloha
Just an INFSLP, easy. ok? Index: pci/pci.c === RCS file: /cvs/src/sys/dev/pci/pci.c,v retrieving revision 1.114 diff -u -p -r1.114 pci.c --- pci/pci.c 25 Jun 2019 16:46:32 - 1.114 +++ pci/pci.c 15 Jan 2020 06:51:29

xbf(4): tsleep(9) -> tsleep_nsec(9)

2020-01-14 Thread Scott Cheloha
Given the SCSI_NOSLEEP split here I think the simplest thing we can do is ask to sleep as much as we delay(9). The question is: if you *could* poll in 10us intervals here with tsleep_nsec(9), would you want to? If so, then this works. If not, what is a more appropriate interval? Index:

hvn(4): *sleep(9) -> *sleep_nsec(9)

2020-01-14 Thread Scott Cheloha
First, the tsleep(9) calls. These are easy. If cold != 0 we delay(9), so just do the equivalent thing with tsleep_nsec(9). Next, the msleep(9). If I understand correctly, in hvn_alloc_cmd() we're waiting to pull something off a freelist. The freelist, sc->sc_cntl_fq, is protexted by the mutex

Re: umb(4) WIP diff and questions

2020-01-14 Thread Lee B
On Tue Jan 14, 2020 at 12:40 PM, Theo de Raadt wrote: > > > > Channeling a conversation from 15 years ago: "How about wpakeyfile" > > > > > Another consideration is... many of these passwords are locked to narrow > usage cases, so does it really matter all that much? > > Right, seems like I

Re: umb(4) WIP diff and questions

2020-01-14 Thread Lee B
Hi Stefan, On Tue Jan 14, 2020 at 2:40 PM, Stefan Sperling wrote: > <... lots of useful stuff ...> > That was exactly the sort of thing I was looking for. Thanks! It was seeing your device drivers presentation on Youtube a week or so ago that originally inspired me to get stuck in, so thanks

aac(4): aac_wait_intr: intended timeout unit?

2020-01-14 Thread Scott Cheloha
Here's another tsleep(9) -> tsleep_nsec(9) conversion. The first chunk is easy: ticks to seconds. The second chunk looks fishy, though. aac_wait_command() calls tsleep(9) with a timeout in ticks, but the only caller of aac_wait_command() uses a scsi_xfer.timeout as the timeout, and if I'm

Re: route: better error message for getaddrinfo() failure

2020-01-14 Thread Alexander Bluhm
On Wed, Jan 15, 2020 at 01:26:53AM +0100, Klemens Nanni wrote: > Replace the very same error message strlcpy() uses earlier. This makes > it easier to distinguish and does not hide different errors behind the > same generic one. > > For example, it turns > > # route -qn add -inet6 fec0::%

lpt(4): timeout_add(9) -> timeout_add_msec(9), tsleep(9) -> tsleep_nsec(9)

2020-01-14 Thread Scott Cheloha
Ticks to milliseconds. I've changed "tic" to "msecs" in the backoff loop to make the units more obvious. I went with 10ms as the starting sleep. A perfect conversion would start at something like (tick / 1000), but obviously we're trying to move away from that sort of thing. Absent a better

route: better error message for getaddrinfo() failure

2020-01-14 Thread Klemens Nanni
Replace the very same error message strlcpy() uses earlier. This makes it easier to distinguish and does not hide different errors behind the same generic one. For example, it turns # route -qn add -inet6 fec0::% -prefixlen 10 ::1 -reject route: fec0::%: bad value into

Re: netstart: IPv6 routes: do not redirect already quiet stdout

2020-01-14 Thread Alexander Bluhm
On Tue, Jan 14, 2020 at 11:54:32PM +0100, Klemens Nanni wrote: > Came here while testing an IPv6 related sys/net/rtsock.c diff: all > invocations use `-q' and route(8) says > >-q Suppress all output. > > so the redirection is duplicate. If route still prints to standard > output

Re: umb(4) WIP diff and questions

2020-01-14 Thread Abel Abraham Camarillo Ojeda
On Tue, Jan 14, 2020 at 5:11 PM Stefan Sperling wrote: > On Tue, Jan 14, 2020 at 12:34:29PM -0700, Theo de Raadt wrote: > > Channeling a conversation from 15 years ago: "How about wpakeyfile" > > ifconfig wpakeyfile would be trivial to add if we really want it. > But how will hostname.if will

Re: umb(4) WIP diff and questions

2020-01-14 Thread Stefan Sperling
On Tue, Jan 14, 2020 at 12:34:29PM -0700, Theo de Raadt wrote: > Channeling a conversation from 15 years ago: "How about wpakeyfile" ifconfig wpakeyfile would be trivial to add if we really want it. The downside is loss of unveil, here handled the same way as for the bridge rulesfile. Looks like

netstart: IPv6 routes: do not redirect already quiet stdout

2020-01-14 Thread Klemens Nanni
Came here while testing an IPv6 related sys/net/rtsock.c diff: all invocations use `-q' and route(8) says -q Suppress all output. so the redirection is duplicate. If route still prints to standard output despite the quiet flag I want to see such a bug and fix it. Note that

Re: qle(4): tsleep(9) -> tsleep_nsec(9)

2020-01-14 Thread Jonathan Matthew
On Mon, Jan 13, 2020 at 06:32:00PM -0600, Scott Cheloha wrote: > These sleeps don't have units, though in practice they are 1 second. > Just prior in the code I see a delay(9) of 100 microseconds. Is the > 100 ticks here a typo? What is a reasonable sleep duration for this > hardware? Both of

Re: iked(8): get rid of IPv6 flow and -6 flag?

2020-01-14 Thread Stuart Henderson
On 2020/01/14 21:48, Stuart Henderson wrote: > On 2020/01/14 21:03, Tobias Heider wrote: > > On Tue, Jan 14, 2020 at 09:17:11AM -0700, Theo de Raadt wrote: > > > Stuart Henderson wrote: > > > > > > > On 2020/01/13 20:51, Klemens Nanni wrote: > > > > > I'm in favour of removing the option and OK

Re: iked(8): get rid of IPv6 flow and -6 flag?

2020-01-14 Thread Stuart Henderson
On 2020/01/14 21:03, Tobias Heider wrote: > On Tue, Jan 14, 2020 at 09:17:11AM -0700, Theo de Raadt wrote: > > Stuart Henderson wrote: > > > > > On 2020/01/13 20:51, Klemens Nanni wrote: > > > > I'm in favour of removing the option and OK with your diff, but simply > > > > removing it is

Re: iked(8): get rid of IPv6 flow and -6 flag?

2020-01-14 Thread Klemens Nanni
On Tue, Jan 14, 2020 at 09:03:04PM +0100, Tobias Heider wrote: > Makes sense. I added a warning and a notice in current.html. OK kn

Re: in httpd, use the correct configured server config

2020-01-14 Thread Sebastian Benoit
Thanks for the diff, commited. Sebastian Benoit(be...@openbsd.org) on 2020.01.14 21:14:44 +0100: > seems sensible. > > ok benno@ > > > Tracey Emery(tra...@traceyemery.net) on 2020.01.14 13:08:03 -0700: > > Hello, > > > > In the server_response function of httpd, the if comparison to > >

Re: in httpd, use the correct configured server config

2020-01-14 Thread Sebastian Benoit
seems sensible. ok benno@ Tracey Emery(tra...@traceyemery.net) on 2020.01.14 13:08:03 -0700: > Hello, > > In the server_response function of httpd, the if comparison to > srv_conf->maxrequests is using the wrong value. The value is derived from the > first server configuration in httpd.conf,

in httpd, use the correct configured server config

2020-01-14 Thread Tracey Emery
Hello, In the server_response function of httpd, the if comparison to srv_conf->maxrequests is using the wrong value. The value is derived from the first server configuration in httpd.conf, since we still don't know which server name the client is requesting. This small diff moves

Re: iked(8): get rid of IPv6 flow and -6 flag?

2020-01-14 Thread Tobias Heider
On Tue, Jan 14, 2020 at 09:17:11AM -0700, Theo de Raadt wrote: > Stuart Henderson wrote: > > > On 2020/01/13 20:51, Klemens Nanni wrote: > > > I'm in favour of removing the option and OK with your diff, but simply > > > removing it is probably a bad idea given its nature. > > > > > > What about

Re: umb(4) WIP diff and questions

2020-01-14 Thread Theo de Raadt
Theo de Raadt wrote: > Stuart Henderson wrote: > > > On 2020/01/14 10:27, Theo de Raadt wrote: > > > Unfortunate part of this diff is that the password is (very > > > momentarily) visible with ps(1) in the root-run ifconfig argv[] array. > > > It's a tight race, but still it is visible. > > >

Re: diff: simplify globbing in ftpd(8)

2020-01-14 Thread Jan Klemkow
On Mon, Jan 13, 2020 at 10:30:11AM -0700, Todd C. Miller wrote: > On Mon, 13 Jan 2020 13:45:55 +0100, Jan Klemkow wrote: > > > This diff simplifies globbing for the ftpd(8) ls and stat command. And > > it avoids to glob for the parameters "-lgA". > > > > Due, we just pass a single string to the

Re: umb(4) WIP diff and questions

2020-01-14 Thread Theo de Raadt
Stuart Henderson wrote: > On 2020/01/14 10:27, Theo de Raadt wrote: > > Unfortunate part of this diff is that the password is (very > > momentarily) visible with ps(1) in the root-run ifconfig argv[] array. > > It's a tight race, but still it is visible. > > > > People do run "sh /etc/netstart

Re: umb(4) WIP diff and questions

2020-01-14 Thread Stuart Henderson
On 2020/01/14 10:27, Theo de Raadt wrote: > Unfortunate part of this diff is that the password is (very > momentarily) visible with ps(1) in the root-run ifconfig argv[] array. > It's a tight race, but still it is visible. > > People do run "sh /etc/netstart umb0" to activate the interface >

Re: apply changes immediately to join'd essids

2020-01-14 Thread Stefan Sperling
On Tue, Jan 14, 2020 at 06:12:27PM +0100, Peter Hessler wrote: > Updated diff > > Look good. Thanks! ok stsp@ > Index: net80211/ieee80211_ioctl.c > === > RCS file: /home/cvs/openbsd/src/sys/net80211/ieee80211_ioctl.c,v >

Re: acpivout: try to consistently adjust brightness by 5%

2020-01-14 Thread Klemens Nanni
On Mon, Jan 13, 2020 at 12:20:10PM +0100, Patrick Wildt wrote: > The problem is that the last two values are 67 and 100. If you go > 5% down, it's 95. The nearest will still be 100. The code then > realizes that it's the same level as before, and does nlevel--. > But nlevel-- is 99, and not 67,

Re: nfs mp vnode list remove safe

2020-01-14 Thread Alexander Bluhm
On Tue, Jan 14, 2020 at 01:32:50PM -0500, Ted Unangst wrote: > Alexander Bluhm wrote: > > loop: > > - TAILQ_FOREACH_SAFE(vp, >mnt_vnodelist, v_mntvnodes, nvp) { > > + TAILQ_FOREACH(vp, >mnt_vnodelist, v_mntvnodes) { > > if (vp->v_mount != mp) /* Paranoia */ > >

Re: nfs mp vnode list remove safe

2020-01-14 Thread Ted Unangst
Alexander Bluhm wrote: > Hi, > > There is no remove and no sleep in this loop. So _SAFE is unnecessary. > > ok? sure, with one bonus note. > > bluhm > > Index: nfs/nfs_subs.c > === > RCS file:

Re: add DIOCRADDADDRS ioctl to kern_pledge pf

2020-01-14 Thread Peter J. Philipp
On Tue, Jan 14, 2020 at 11:05:38AM -0700, Theo de Raadt wrote: > Some of the pledges (such as "pf") exist to support a cluster of > programs -- not just 1 program -- and improve their security by limiting > what they can do. So that when the program gets subverted due something > on it's input,

Re: add DIOCRADDADDRS ioctl to kern_pledge pf

2020-01-14 Thread Theo de Raadt
> I'm in the process of building a program that adds IP addresses to a table, > from the network, It is HMAC'ed. > > I was stopped by a pledge, it seems it was not configured. Here is the > ktrace snippet: > > 40051 table-server CALL open(0xbb705fb11f6,0x2) > 40051 table-server NAMI

add DIOCRADDADDRS ioctl to kern_pledge pf

2020-01-14 Thread Peter J. Philipp
Hi, I'm in the process of building a program that adds IP addresses to a table, from the network, It is HMAC'ed. I was stopped by a pledge, it seems it was not configured. Here is the ktrace snippet: 40051 table-server CALL open(0xbb705fb11f6,0x2) 40051 table-server NAMI "/dev/pf" 40051

Re: umb(4) WIP diff and questions

2020-01-14 Thread Theo de Raadt
Unfortunate part of this diff is that the password is (very momentarily) visible with ps(1) in the root-run ifconfig argv[] array. It's a tight race, but still it is visible. People do run "sh /etc/netstart umb0" to activate the interface during multiuser. If the password is truly sensitive, it

Re: Towards splitting SCHED_LOCK()

2020-01-14 Thread Theo de Raadt
Mark Kettenis wrote: > > Date: Tue, 14 Jan 2020 10:34:05 +1100 > > From: Jonathan Gray > > > > On Mon, Jan 13, 2020 at 05:02:12PM +0100, Martin Pieuchot wrote: > > > I'm facing a lock ordering issue while profiling the scheduler which > > > cannot be solved without using a different lock for

Re: apply changes immediately to join'd essids

2020-01-14 Thread Peter Hessler
On 2020 Jan 14 (Tue) at 13:11:57 +0100 (+0100), Stefan Sperling wrote: :On Mon, Jan 13, 2020 at 10:38:35PM +0100, Peter Hessler wrote: :> On 2020 Jan 12 (Sun) at 21:39:19 +0100 (+0100), Peter Hessler wrote: :> :When we change attributes for a join essid, we should apply the change :> :immediately

Re: umb(4) WIP diff and questions

2020-01-14 Thread Claudio Jeker
On Tue, Jan 14, 2020 at 02:40:45PM +0100, Stefan Sperling wrote: > On Tue, Jan 14, 2020 at 09:51:05PM +0900, leeb wrote: > > Hello again tech@ > > > > I've included diffs of what I've got so far at the bottom > > of this mail, but first a couple of questions: > > > > - Using the full

Re: Towards splitting SCHED_LOCK()

2020-01-14 Thread Mark Kettenis
> Date: Tue, 14 Jan 2020 10:34:05 +1100 > From: Jonathan Gray > > On Mon, Jan 13, 2020 at 05:02:12PM +0100, Martin Pieuchot wrote: > > I'm facing a lock ordering issue while profiling the scheduler which > > cannot be solved without using a different lock for the global sleepqueue > > and the

Re: Towards splitting SCHED_LOCK()

2020-01-14 Thread Martin Pieuchot
On 14/01/20(Tue) 10:34, Jonathan Gray wrote: > On Mon, Jan 13, 2020 at 05:02:12PM +0100, Martin Pieuchot wrote: > > I'm facing a lock ordering issue while profiling the scheduler which > > cannot be solved without using a different lock for the global sleepqueue > > and the runqueues. > > > > The

Re: iked(8): get rid of IPv6 flow and -6 flag?

2020-01-14 Thread David Riley
On Jan 13, 2020, at 11:55 AM, Tobias Heider wrote: > > Hi, > > iked by default blocks all IPv6 traffic on a host unless any > of the configured policies use v6. This was originally meant > as a measure to prevent VPN leakage for people who did not > think of IPv6 when configuring IPsec. With

Re: Please test: kill `p_priority'

2020-01-14 Thread Martin Pieuchot
On 13/01/20(Mon) 21:31, Martin Pieuchot wrote: > I'd like hardclock() to be free of SCHED_LOCK(), the diff below brings > us one step away from that goal. Please test with your favorite > benchmark and report any regression :o) > > The reason for moving the SCHED_LOCK() away from hardclock() is

Re: iked(8): get rid of IPv6 flow and -6 flag?

2020-01-14 Thread Theo de Raadt
Stuart Henderson wrote: > On 2020/01/13 20:51, Klemens Nanni wrote: > > I'm in favour of removing the option and OK with your diff, but simply > > removing it is probably a bad idea given its nature. > > > > What about printing a deprecation warning so that users can safely > > adjust their

Re: pfctl - allow recursive flush operations [ 5/5 ]

2020-01-14 Thread Klemens Nanni
Thanks, OK kn

Re: pfctl - allow recursive flush operations [ 5/5 ]

2020-01-14 Thread Alexandr Nedvedicky
Hello > > > > > > This reads simpler and clearer to me, what do you think? > > > > OK, I'll buy if (...) from you, but '+ 1' must stay there, > > because it is for a '\0' terminator. So let's go for this: > > len = strlen(pr->name) + 1; > > if (pr->path[0]) > > len

Re: pfctl - allow recursive flush operations [ 5/5 ]

2020-01-14 Thread Theo Buehler
On Tue, Jan 14, 2020 at 04:32:41PM +0100, Alexandr Nedvedicky wrote: > Hello, > > On Tue, Jan 14, 2020 at 03:02:09PM +0100, Klemens Nanni wrote: > > On Mon, Jan 13, 2020 at 10:47:27PM +0100, Alexandr Nedvedicky wrote: > > > @@ -2182,7 +2182,7 @@ pfctl_walk_get(int opts, struct pfioc_ruleset *pr,

Re: pfctl - allow recursive flush operations [ 5/5 ]

2020-01-14 Thread Alexandr Nedvedicky
Hello, On Tue, Jan 14, 2020 at 03:02:09PM +0100, Klemens Nanni wrote: > On Mon, Jan 13, 2020 at 10:47:27PM +0100, Alexandr Nedvedicky wrote: > > @@ -2182,7 +2182,7 @@ pfctl_walk_get(int opts, struct pfioc_ruleset *pr, > > void *warg) > > if (pfra == NULL) > > err(1, "%s",

Re: Towards splitting SCHED_LOCK()

2020-01-14 Thread Jonathan Gray
On Mon, Jan 13, 2020 at 05:02:12PM +0100, Martin Pieuchot wrote: > I'm facing a lock ordering issue while profiling the scheduler which > cannot be solved without using a different lock for the global sleepqueue > and the runqueues. > > The SCHED_LOCK() currently protects both data structures as

nfs mp vnode list remove safe

2020-01-14 Thread Alexander Bluhm
Hi, There is no remove and no sleep in this loop. So _SAFE is unnecessary. ok? bluhm Index: nfs/nfs_subs.c === RCS file: /data/mirror/openbsd/cvs/src/sys/nfs/nfs_subs.c,v retrieving revision 1.141 diff -u -p -r1.141 nfs_subs.c

Re: iked(8): get rid of IPv6 flow and -6 flag?

2020-01-14 Thread Stuart Henderson
On 2020/01/13 23:31, Sebastian Benoit wrote: > Alexander Bluhm(alexander.bl...@gmx.net) on 2020.01.13 18:19:31 +0100: > > On Mon, Jan 13, 2020 at 05:55:06PM +0100, Tobias Heider wrote: > > > I think we should discuss whether we can remove the flow > > > (and the -6 flag) as I constantly hear

Re: iked(8): get rid of IPv6 flow and -6 flag?

2020-01-14 Thread Sebastian Benoit
Alexander Bluhm(alexander.bl...@gmx.net) on 2020.01.13 18:19:31 +0100: > On Mon, Jan 13, 2020 at 05:55:06PM +0100, Tobias Heider wrote: > > I think we should discuss whether we can remove the flow > > (and the -6 flag) as I constantly hear people complaining > > that it broke their setups and I

Re: acpivout: try to consistently adjust brightness by 5%

2020-01-14 Thread Klemens Nanni
On Mon, Jan 13, 2020 at 12:20:10PM +0100, Patrick Wildt wrote: > The problem is that the last two values are 67 and 100. If you go > 5% down, it's 95. The nearest will still be 100. The code then > realizes that it's the same level as before, and does nlevel--. > But nlevel-- is 99, and not 67,

qle(4): tsleep(9) -> tsleep_nsec(9)

2020-01-14 Thread Scott Cheloha
These sleeps don't have units, though in practice they are 1 second. Just prior in the code I see a delay(9) of 100 microseconds. Is the 100 ticks here a typo? What is a reasonable sleep duration for this hardware? Index: pci/qle.c

Re: iked(8): get rid of IPv6 flow and -6 flag?

2020-01-14 Thread Stuart Henderson
On 2020/01/13 18:19, Alexander Bluhm wrote: > On Mon, Jan 13, 2020 at 05:55:06PM +0100, Tobias Heider wrote: > > I think we should discuss whether we can remove the flow > > (and the -6 flag) as I constantly hear people complaining > > that it broke their setups and I don't think anyone > >

Re: httpd(8): patch to allow FastCGI chroots in sub-directories

2020-01-14 Thread Florian Obser
I like the idea. Unfortunately the diff does not apply. On Thu, Jan 09, 2020 at 06:10:24AM +0100, Nazar Zhuk wrote: > httpd(8) expects FastCGI processes to have the same chroot as httpd. I > propose a feature that allows multiple FastCGI processes chrooted in > separate directories under /var/www

Re: pfctl - allow recursive flush operations [ 5/5 ]

2020-01-14 Thread Klemens Nanni
On Mon, Jan 13, 2020 at 10:47:27PM +0100, Alexandr Nedvedicky wrote: > @@ -2182,7 +2182,7 @@ pfctl_walk_get(int opts, struct pfioc_ruleset *pr, void > *warg) > if (pfra == NULL) > err(1, "%s", __func__); > > - len = strlen(pr->path) + 1; > + len = (pr->path[0] ==

Re: umb(4) authentication

2020-01-14 Thread Brett Mahar
| > > | > > This email should be gold plated and moved to a permanent location in | > > the FAQ on how to help OpenBSD and how to request new features. | > > | > | > Please refrain from ridiculing people with good intentions. | > | I originally read Anders' mail as complimentary, but now

Re: umb(4) authentication

2020-01-14 Thread Stuart Henderson
On 2020/01/14 00:54, leeb wrote: > On Mon, Jan 13, 2020 at 04:42:22PM +0100, Martijn van Duren wrote: > > On 1/13/20 4:30 PM, Anders Andersson wrote: > > > On Mon, Jan 13, 2020 at 3:00 PM leeb wrote: > > >> > > >> Hello, > > >> > > > >> > > >> Thanks, > > >> > > >> Lee. > > > > > > This

mii(4): tsleep(9) -> tsleep_nsec(9)

2020-01-14 Thread Scott Cheloha
Ticks to milliseconds. Original sleep is half a second, so 500ms. ok? Index: mii/mii_physubr.c === RCS file: /cvs/src/sys/dev/mii/mii_physubr.c,v retrieving revision 1.45 diff -u -p -r1.45 mii_physubr.c --- mii/mii_physubr.c 11

Re: umb(4) WIP diff and questions

2020-01-14 Thread Stefan Sperling
On Tue, Jan 14, 2020 at 09:51:05PM +0900, leeb wrote: > Hello again tech@ > > I've included diffs of what I've got so far at the bottom > of this mail, but first a couple of questions: > > - Using the full 510-character limits for username and > passphrase specified in the MBIM spec, kernel

Please test: kill `p_priority'

2020-01-14 Thread Martin Pieuchot
I'd like hardclock() to be free of SCHED_LOCK(), the diff below brings us one step away from that goal. Please test with your favorite benchmark and report any regression :o) The reason for moving the SCHED_LOCK() away from hardclock() is because it will allow us to re-commit the diff moving

MAKE: simplify compat handling

2020-01-14 Thread Marc Espie
The convoluted logic that resets must_make does not make any sense to me. It's just as simple to set built_status to ABORTED directly. Note that in the compat make case, there are two instances of using must_make left, one in arch.c, which I have yet to understand, and one in

Re: pfctl - allow recursive flush operations [ 5/5 ]

2020-01-14 Thread Alexandr Nedvedicky
Hello, > > + unsigned int len; > strlen(3) returns size_t, malloc(3) takes it. makes sense> > > > + struct pfr_anchors *anchors; > > + > > + anchors = (struct pfr_anchors *) warg; > > + > > + pfra = malloc(sizeof(*pfra)); > > + if (pfra == NULL) > > + err(1, "%s",

tripping assert in pf_state_key_link_reverse()

2020-01-14 Thread Alexandr Nedvedicky
Hello, Some time ago I've tripped over ASSERT() in pf_state_key_link_reverse(), when testing my changes to pfsync. I was using HP 710 systems with 8 cores I got from Hrvoje. The panic happened rarely when running performance tesst over 10Gb interfaces. At time of panic the firewall was running

Re: apply changes immediately to join'd essids

2020-01-14 Thread Stefan Sperling
On Mon, Jan 13, 2020 at 10:38:35PM +0100, Peter Hessler wrote: > On 2020 Jan 12 (Sun) at 21:39:19 +0100 (+0100), Peter Hessler wrote: > :When we change attributes for a join essid, we should apply the change > :immediately instead of waiting to (randomly) switch away and switch > :back. > > And

Re: [PATCH] src/libexec/ftpd: fix nlist with -option does not work

2020-01-14 Thread Jan Klemkow
On Mon, Nov 18, 2019 at 02:56:46PM +0900, SASANO Takayoshi wrote: > At least OpenBSD-6.5 and 6.6's ftpd does not work NLIST command with > any -option like this. > > > ftp> nlist > 150 Opening ASCII mode data connection for 'file list'. > uaa > _sysupgrade > 226 Transfer complete. > ftp>

Re: apply changes immediately to join'd essids

2020-01-14 Thread Peter Hessler
On 2020 Jan 12 (Sun) at 21:39:19 +0100 (+0100), Peter Hessler wrote: :When we change attributes for a join essid, we should apply the change :immediately instead of waiting to (randomly) switch away and switch :back. And if we are connected to an AP, remove the node from the cache so we can

umb(4) WIP diff and questions

2020-01-14 Thread leeb
Hello again tech@ I've included diffs of what I've got so far at the bottom of this mail, but first a couple of questions: - Using the full 510-character limits for username and passphrase specified in the MBIM spec, kernel compilation fails due to tripping the 2047-byte stack frame warning