GSoC introduction -- argon2 integration

2019-05-20 Thread Jason High
Hello tech-userlevel, I am participating in GSoC integrating the memory-hard hashing algorithm argon2 into NetBSD. I plan on using the following GIT repo for all code, comments, and issues. Please feel free to review. If you find an issue, please help out and create an Issue. https://github.co

patch - cgdconfig do_all mode gracefully ignore detached devices

2019-11-09 Thread Jason High
Hello NetBSD, When using cgdconfig in do_all mode (-C|-U), it will attempt to configure/unconfigure all devices specified in cgd.conf regardless of whether the device is attached or not (our use case is USB drives). The below diff gracefully skips over devices if they are not attached or not c

Re: patch - cgdconfig do_all mode gracefully ignore detached devices

2019-11-09 Thread Jason High
d add an alternate flag to provide this addition check? Robert made some really good suggestions that I will incorporate and provide an updated patch. Thanks for the feedback! Thanks and regards, Jason On Sun, Nov 10, 2019 at 12:32 AM Michael van Elst wrote: > > jh...@netbsd.org (Jason H

Re: patch - cgdconfig do_all mode gracefully ignore detached devices

2019-11-10 Thread Jason High
close(fd); + +return 1; +} On Sun, Nov 10, 2019 at 1:42 AM Michael van Elst wrote: > > On Sun, Nov 10, 2019 at 01:21:21AM -0600, Jason High wrote: > > For -U, that could work (was actually how we handled it in an earlier > > version). For -C, no. Our goal is to avoid cgd tryi

Re: patch - cgdconfig do_all mode gracefully ignore detached devices

2019-11-10 Thread Jason High
return -1; +} +close(fd); + +return 1; +} On Sun, Nov 10, 2019 at 9:37 AM Jason High wrote: > > Thanks for your feedback! We cannot fail silently in configure as-is > due to the config/verification flow. However, if what was meant was > to check for ENXIO in the verificat

Re: patch - cgdconfig do_all mode gracefully ignore detached devices

2019-11-11 Thread Jason High
(errno == ENXIO) { +return 0; +} +return -1; +} +close(fd); + +return 1; +} On Sun, Nov 10, 2019 at 5:43 PM Robert Elz wrote: > > Date:Sun, 10 Nov 2019 10:00:48 -0600 > From:Jason High > Message-ID: > > >

Re: Reproducible builds: Recent Changes & Current State

2024-05-02 Thread Jason High
This is very interesting, thank you. I hope this ends up as a research paper. jhigh On Thu, May 2, 2024, 15:53 Jan-Benedict Glaw wrote: > Hi! > > Some time ago, I started to look into NetBSD's success after reaching > reproducibility for at least two ports. Being both a VAX enthusiast > and som