Re: sppp/pppoe on sparc64

2013-12-11 Thread Todd C. Miller
On Wed, 11 Dec 2013 17:54:06 +0100, =?utf-8?Q?J=C3=A9r=C3=A9mie_Courr=C3=A8ges- Anglas?= wrote: > As reported by on bugs@[1]. I had a longer diff but got no reply so > let's try to get this in first. OK but please just change the unsigned long to u_int32_t. There's no need for this to be any mo

Re: PATCH: Fix invalid size to 'memcmp' in 'rn_lexobetter'

2013-12-11 Thread Todd C. Miller
Your diff looks correct to me. In the old code, we had this loop: for (lim = mp + *mp; mp < lim;) if (*mp++ > *np++) return 1; return 0; Which was replaced by: lim = mp + *mp; return (memcmp(mp, np, *lim) > 0); which is not equivalent since lim points to

sppp/pppoe on sparc64

2013-12-11 Thread Jérémie Courrèges-Anglas
As reported by on bugs@[1]. I had a longer diff but got no reply so let's try to get this in first. ok? [1] http://marc.info/?l=openbsd-bugs&m=138513728419554&w=2 Index: if_spppsubr.c === RCS file: /cvs/src/sys/net/if_spppsubr.c,v

Re: PATCH: Allow shared semaphores to be really shared

2013-12-11 Thread Ted Unangst
On Wed, Dec 11, 2013 at 11:12, Vadim Zhukov wrote: >> If we go back to returning ENOMEM or whatever in sem_init, does that >> fix KDE? > > If we stop pretending we support shared unnamed semaphores, then, yes, > this will help KDE. But I cannot gurantee there will be no other > fallout. This needs

Re: add new device to cdce.4

2013-12-11 Thread Mike Belopuhov
On 11 December 2013 10:14, Kirill Bychkov wrote: > Hi! > This Yota dongle works fine. I think adding this into manual would be useful > for russian OpenBSD users. > > umass1 at uhub0 port 1 configuration 1 interface 0 "GCT SEMICONDUCTOR Inc > Modem Yota" rev 2.00/1.00 addr 4 > umass1: using SCSI o

add new device to cdce.4

2013-12-11 Thread Kirill Bychkov
Hi! This Yota dongle works fine. I think adding this into manual would be useful for russian OpenBSD users. umass1 at uhub0 port 1 configuration 1 interface 0 "GCT SEMICONDUCTOR Inc Modem Yota" rev 2.00/1.00 addr 4 umass1: using SCSI over Bulk-Only scsibus4 at umass1: 2 targets, initiator 0 cd0 at