Re: realpath(3) on a dangling symlink

2018-06-28 Thread Martijn van Duren
I just ran a make release with the diff below and ran into the following error: [snip] mount /dev/vnd0a /mnt cp /tmp/destdir//usr/mdec/boot /usr/src/distrib/amd64/ramdisk_cd/obj/boot strip /usr/src/distrib/amd64/ramdisk_cd/obj/boot strip -R .comment -R .SUNW_ctf /usr/src/distrib/amd64/ramdisk_cd/ob

Re: uaudio: fix logitech c310 integrated mic

2018-06-28 Thread Landry Breuil
On Mon, Jun 25, 2018 at 11:59:46AM +0200, Martin Pieuchot wrote: > On 24/06/18(Sun) 14:15, Landry Breuil wrote: > > Hi, > > > > the logitech c310 is supported by uvideo, but its uaudio fails to > > attach properly and fallbacks to ugen. > > > > from that point, i dunno if my analysis is wrong

Re: usbdevs(8) tweaks

2018-06-28 Thread Theo de Raadt
Martin Pieuchot wrote: > My recent work to force USB devices to attach as ugen(4) [0] and Ilya's > work to enable/disable USB devices [1] have a lot in common. Now I'd > argue that we don't want new userland tool for these functionalities. > IMHO we should improve usbdevs(8). I agree. > Sadly

Add Microchip Ethernet device IDs

2018-06-28 Thread Kevin Lo
Hi, This diff adds Microchip USB Ethernet device ids, ok? Index: sys/dev/usb/usbdevs === RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.685 diff -u -p -u -p -r1.685 usbdevs --- sys/dev/usb/usbdevs 18 Jun 2018 19:03:33

Kill RTM_LOCK

2018-06-28 Thread Martin Pieuchot
This message isn't used in base and I couldn't find a use for it in codesearch.debian.net. It is redundant with RTM_CHANGE. As I an now trying to make the content of 'struct rtentry' mp-safe without relying on the NET_LOCK(), getting rid of this message would help me. Ok? Index: sbin/route/rout

Re: signal to process or posix thread

2018-06-28 Thread Martin Pieuchot
On 22/06/18(Fri) 22:37, Alexander Bluhm wrote: > Hi, > > Since the recent futex(2) changes the posixtestsuite regress does > not finish within the given time frame. Depending on some races > tests hang, e.g. this one: > > /usr/local/libexec/posixtestsuite/conformance/interfaces/pthread_atfork/3-

Re: usbdevs(8) tweaks

2018-06-28 Thread Stuart Henderson
I think this is a big improvement already, OK with me. It could do with a quick manpage mention, I think this is enough. Index: usbdevs.8 === RCS file: /cvs/src/usr.sbin/usbdevs/usbdevs.8,v retrieving revision 1.9 diff -u -p -r1.9 usb

usbdevs(8) tweaks

2018-06-28 Thread Martin Pieuchot
My recent work to force USB devices to attach as ugen(4) [0] and Ilya's work to enable/disable USB devices [1] have a lot in common. Now I'd argue that we don't want new userland tool for these functionalities. IMHO we should improve usbdevs(8). Sadly usbdevs(8) output is hard to read. So here'

Re: errors in usage.c - libusbhid

2018-06-28 Thread Martin Pieuchot
On 18/06/18(Mon) 20:57, David Bern wrote: > I take back my previous answer to this question: > > Are you sure the name always contain an underscore? Can't it be > > "Button:Button42" ? > > In my previous response I had only discovered three cases of usage -1. > I took another look and discovered

Re: next step in synchronizing ber.c and ber.h

2018-06-28 Thread Robert Klein
On Thu, 28 Jun 2018 09:54:34 +0200 Claudio Jeker wrote: > On Wed, Jun 27, 2018 at 06:42:58PM -0400, Rob Pierce wrote: > > The following diff makes ber.c and ber.h identical across ldap, > > ldapd, and ypldap, and slightly reduces the diff with snmpd. > > > > It covers the evolution of a few scat

Re: next step in synchronizing ber.c and ber.h

2018-06-28 Thread Claudio Jeker
On Wed, Jun 27, 2018 at 06:42:58PM -0400, Rob Pierce wrote: > The following diff makes ber.c and ber.h identical across ldap, ldapd, and > ypldap, and slightly reduces the diff with snmpd. > > It covers the evolution of a few scattered enhancements, including: > > - sync proscription of indefini