On github now

2015-04-15 Thread Kanonenvogel
Well, I’ve put "/usr/src/sys" subtree from 5.7 with my patches on guthub. I would really like to get it more traction on that. https://github.com/Kanonenvogel/openbsd-sys-5.7-smp

Re: inteldrm/radeondrm running -current

2015-04-15 Thread Adam Wolk
On Wed, Apr 15, 2015, at 11:56 PM, Mark Kettenis wrote: > Hi folks, > > Earlier today, I committed a diff that includes a check that the drm > ioctls return a proper error code. If you see something like: > > drmioctl: cmd 0xXX errno -YY > > in your dmesg or on your console, please let me

inteldrm/radeondrm running -current

2015-04-15 Thread Mark Kettenis
Hi folks, Earlier today, I committed a diff that includes a check that the drm ioctls return a proper error code. If you see something like: drmioctl: cmd 0xXX errno -YY in your dmesg or on your console, please let me know. Thanks, Mark

Re: File protection, second attempt

2015-04-15 Thread Kanonenvogel
On 15 Apr 2015, at 19:45, Mike Belopuhov wrote: > On 15 April 2015 at 13:29, kanonenvogel@gmail.com > wrote: >> >> On 14 Apr 2015, at 18:35, Mike Belopuhov wrote: >>> >>> Supposedly you don't have to KERNEL_LOCK for pool_{get,put} anymore. >> Underlying uvm calls are not mp safe > > Tru

Re: pkg_* new functionality: arch, version expansion

2015-04-15 Thread Marc Espie
On Wed, Apr 15, 2015 at 08:39:15PM +0200, Sebastian Reitenbach wrote: > I've seen at least -beta versions short before release locks. Not > sure if there are -alpha too? Those should be treated > same way as snapshots, I think. This is the exact same logic that's in fw_update, actually... so if on

Re: Change the way we handle interface/connected networks

2015-04-15 Thread Claudio Jeker
On Wed, Mar 18, 2015 at 05:46:34AM +0100, Claudio Jeker wrote: > On Tue, Mar 17, 2015 at 05:35:21PM +0100, Martin Pieuchot wrote: > > On 12/02/15(Thu) 12:35, Martin Pieuchot wrote: > > > On 10/02/15(Tue) 03:04, Claudio Jeker wrote: > > > > There is no need to not allow the same network to be config

Re: Multiple cmsghdrs in msghdr

2015-04-15 Thread Philip Guenther
On Wed, Apr 15, 2015 at 11:21 AM, William Orr wrote: > On 4/15/15 5:37 AM, Otto Moerbeek wrote: >> On Wed, Apr 15, 2015 at 11:32:11AM +0200, Mark Kettenis wrote: >> Date: Tue, 14 Apr 2015 21:26:25 -0400 From: William Orr ... Is this behavior intentional, and the documentation is mi

Re: pkg_* new functionality: arch, version expansion

2015-04-15 Thread Sebastian Reitenbach
On 04/15/15 17:56, Marc Espie wrote: was requested by sthen@ works with pkg.conf and PKG_PATH, similar sequences as for dpb: %a -> architecture %c -> either snapshots or version number %v -> always version number. please test/comment just tried it after rewriting: installpath = http://ftp.fr

Re: Multiple cmsghdrs in msghdr

2015-04-15 Thread William Orr
On 4/15/15 5:37 AM, Otto Moerbeek wrote: > On Wed, Apr 15, 2015 at 11:32:11AM +0200, Mark Kettenis wrote: > >>> Date: Tue, 14 Apr 2015 21:26:25 -0400 >>> From: William Orr >>> >>> Hey, >>> >>> I was debugging a few CPython test failures yesterday, and I noticed >>> that attaching multiple cmsg st

Re: [ping] dump -U by default

2015-04-15 Thread Theo de Raadt
> On Wed, Apr 15, 2015 at 5:48 AM, Manuel Giraud wrote: > > Here is a patch that eliminate the -U flag for dump and make usage of > > DUID in /etc/dumpdates the default. It also correct old style entries so > > nothing has to be done for the admin :) > > Yeah, I've started using this and it looks

Re: [ping] dump -U by default

2015-04-15 Thread Philip Guenther
On Wed, Apr 15, 2015 at 5:48 AM, Manuel Giraud wrote: > Here is a patch that eliminate the -U flag for dump and make usage of > DUID in /etc/dumpdates the default. It also correct old style entries so > nothing has to be done for the admin :) Yeah, I've started using this and it looks good so far

Re: File protection, second attempt

2015-04-15 Thread Mike Belopuhov
On 15 April 2015 at 13:29, kanonenvogel@gmail.com wrote: > > On 14 Apr 2015, at 18:35, Mike Belopuhov wrote: >> >> Supposedly you don't have to KERNEL_LOCK for pool_{get,put} anymore. > Underlying uvm calls are not mp safe True. > and not protected by KERNEL_LOCK() calls. > They are, see p

pkg_* new functionality: arch, version expansion

2015-04-15 Thread Marc Espie
was requested by sthen@ works with pkg.conf and PKG_PATH, similar sequences as for dpb: %a -> architecture %c -> either snapshots or version number %v -> always version number. please test/comment just tried it after rewriting: installpath = http://ftp.fr.openbsd.org/pub/OpenBSD/%c/packages/%a

Re: [NEW] Driver for the Araneus Alea II USB TRNG

2015-04-15 Thread attila
Martin Pieuchot writes: > On 14/04/15(Tue) 15:22, attila wrote: >> Martin Pieuchot writes: >> >> >> >> static const struct usb_devno ualea_devs[] = { >> >> { USB_VENDOR_ARANEUS, USB_PRODUCT_ARANEUS_ALEA } >> >> }; >> > >> > Is it possible to match your device based on the content of the dev

Re: autoinstall(8) tweaks

2015-04-15 Thread Philipp
Am 15.04.2015 01:20 schrieb Ryan McBride: On other systems where I don't know how the data will grow, I typically configure them with something close to the auto layout, but a smaller /home, and leave the remaining disk empty. When I get a feel for what the data usage is in /var/ or /home or /usr

PATCH: clarifying iked.conf man

2015-04-15 Thread Vincent Gross
Hello, iked.conf's man page is a bit fuzzy on how local and peer ip defaults are set. This patch below attempts to fix that. Also, can you take a look at my previous nat-on-ipsec-on-iked patchset ? see http://marc.info/?l=openbsd-tech&m=142662971007779&w=2 Cheers, Index: iked.conf.5 =

[ping] dump -U by default

2015-04-15 Thread Manuel Giraud
Hi, Here is a patch that eliminate the -U flag for dump and make usage of DUID in /etc/dumpdates the default. It also correct old style entries so nothing has to be done for the admin :) Index: dump.8 === RCS file: /cvs/src/sbin/dump

Re: File protection, second attempt

2015-04-15 Thread kanonenvogel....@gmail.com
On 14 Apr 2015, at 18:35, Mike Belopuhov wrote: > > Supposedly you don't have to KERNEL_LOCK for pool_{get,put} anymore. Underlying uvm calls are not mp safe and not protected by KERNEL_LOCK() calls.

Re: autoinstall(8) tweaks

2015-04-15 Thread Craig Skinner
On 2015-04-15 Wed 12:05 PM |, Vincent Gross wrote: > > The default allocation is actually easy to rework right after a fresh > install, as /usr/src, /usr/obj and /home are at the end. Ssh as > root, kill /usr/src, /usr/obj and /home, optionally extend /usr/local, > and then repartition as you wish

Re: autoinstall(8) tweaks

2015-04-15 Thread Vincent Gross
On Wed, Apr 15, 2015 at 08:20:15AM +0900, Ryan McBride wrote: > On Thu, Apr 09, 2015 at 04:27:17AM -0600, Theo de Raadt wrote: > > > But it seems people are expected to build a custom bsd.rd if they > > > want something different so I'll bow out of this conversation. > > > > No, the situation is t

Re: [NEW] Driver for the Araneus Alea II USB TRNG

2015-04-15 Thread Martin Pieuchot
On 14/04/15(Tue) 15:22, attila wrote: > Martin Pieuchot writes: > >> > >> static const struct usb_devno ualea_devs[] = { > >>{ USB_VENDOR_ARANEUS, USB_PRODUCT_ARANEUS_ALEA } > >> }; > > > > Is it possible to match your device based on the content of the device > > descriptor instead of whit

Re: Multiple cmsghdrs in msghdr

2015-04-15 Thread Otto Moerbeek
On Wed, Apr 15, 2015 at 11:32:11AM +0200, Mark Kettenis wrote: > > Date: Tue, 14 Apr 2015 21:26:25 -0400 > > From: William Orr > > > > Hey, > > > > I was debugging a few CPython test failures yesterday, and I noticed > > that attaching multiple cmsg structures causes unp_internalize to return >

Re: Multiple cmsghdrs in msghdr

2015-04-15 Thread Mark Kettenis
> Date: Tue, 14 Apr 2015 21:26:25 -0400 > From: William Orr > > Hey, > > I was debugging a few CPython test failures yesterday, and I noticed > that attaching multiple cmsg structures causes unp_internalize to return > EINVAL. > > I've looked in unix(4) and sendmsg(2), and this caveat isn't doc

Re: Multiple cmsghdrs in msghdr

2015-04-15 Thread Otto Moerbeek
Always fun, cmsg structures. Anyway, I'll try to find some info on this (maybe Stevens has something to say here). But your experiments indicate that various Unixes do not agree, so it's probably better to avoid sending multiple cmsg structures. Or there is a subtle error in the way you build you