On Wed, Oct 04, 2017 at 12:59:45PM -0700, Philip Guenther wrote:
| > - if (!umcs_get_reg(sc, UMCS_GPIO, )) {
| > + printf("%s: data before umcs_get_reg: %d\n", DEVNAME(sc), data);
| > + umcs_get_reg(sc, UMCS_GPIO, );
| > + printf("%s: data after umcs_get_reg: %d\n", DEVNAME(sc), data);
| >
On Wed, 4 Oct 2017, Paul de Weerd wrote:
...
> which bumps dev/usb/umcs.c to revision 1.5 with commit message:
>
> "Deactivate the device if I/O fails in attach.
>
> Coverity CID 1453399; ok deraadt@"
>
> reverting this makes the device work again, but since there's a
> Coverity CID attached,
Hi all,
I have a 4-port ST Lab umsc(4) device that used to work quite well for
serial access to a set of machines. Unfortunately, after upgrading to
6.2-ish, it stopped working with the error:
umcs0: unable to get number of ports
Bisecting through a set of snapshot kernels, I found the problem
On Wed, Oct 04 2017, Sebastian Benoit wrote:
> i'm not sure that pledge there is correct.
>
> spawn() gets calles from gettcp() which gets called from the main event
> loop, and directly from the event loop.
>
> The pledge here might be a convenient place to reduce pledges
i'm not sure that pledge there is correct.
spawn() gets calles from gettcp() which gets called from the main event
loop, and directly from the event loop.
The pledge here might be a convenient place to reduce pledges after the
initialization phase?
It takes away the "cpath dns unix" pledges.