Re: rmt(8): add unveil and remove limitation on slashes/symlinks

2022-08-05 Thread Andre Stoebe
Hi Theo, > ?: could be used here: > > if (unveil("/", rflag ? "r" : "rwc") == -1) > err(1, "unveil /"); Right, I find it a bit verbose too. >> -/* Don't allow directory traversal. */ >> -if (strchr(devp, '/')) { >> -

rmt(8): add unveil and remove limitation on slashes/symlinks

2022-08-04 Thread Andre Stoebe
Hello, I'm using rmt in combination with the -d option for remote dumps from multiple machines. It works fine, but the limitation on forward slashes fills my backup directory with hundreds of dumpfiles in only a month. I'd like to keep this a bit more organized in subdirectories based on device

Re: hvn(4): msleep(9) -> msleep_nsec(9)

2020-12-04 Thread Andre Stoebe
Hello Scott, works fine here. Regards, Andre OpenBSD 6.8-current (GENERIC.MP) #8: Fri Dec 4 10:21:19 CET 2020 an...@dev.stoe.be:/sys/arch/amd64/compile/GENERIC.MP real mem = 4278124544 (4079MB) avail mem = 4133175296 (3941MB) random: good seed from bootblocks mpath0 at root scsibus0 at

Re: hvn(4), hyperv(4): tsleep(9) -> tsleep_nsec(9)

2020-12-03 Thread Andre Stoebe
Hello Scott, I tested this with Hyper-V on Windows 10 and it works fine so far. Regards, Andre OpenBSD 6.8-current (GENERIC.MP) #6: Thu Dec 3 12:54:46 CET 2020 an...@dev.stoe.be:/sys/arch/amd64/compile/GENERIC.MP real mem = 4278124544 (4079MB) avail mem = 4133171200 (3941MB) random: good

Fix manpage links in upgrade67.html

2020-05-23 Thread Andre Stoebe
Hello, following patch fixes two manpage links that point to the wrong section. Regards, Andre Index: faq/upgrade67.html === RCS file: /cvs/www/faq/upgrade67.html,v retrieving revision 1.9 diff -u -p -r1.9 upgrade67.html ---

Re: /etc/daily : flexible df output

2019-10-28 Thread Andre Stoebe
Hello Nick, > Those of us that don't worry about running out of inodes, we can > set DF_FLAGS in /etc/daily.local to be whatever we want, in my > case, I like "-hl" (currently, it's "-ikl") I really like the idea, because getting human-readable numbers in the report without replicating

Re: Attach Hyper-V guest services to VMBus 4.0

2019-10-04 Thread Andre Stoebe
On 04.10.2019 15:54, Mike Belopuhov wrote: > Thanks a lot for dmesgs. Do I understand correctly that paravirtualized > disk and network work fine for you regardless of whether OpenBSD-current, > attached one-liner diff or the linked larger diff are used? > > With best regards, > Mike I'm not

Re: Attach Hyper-V guest services to VMBus 4.0

2019-10-03 Thread Andre Stoebe
On 03.10.2019 02:13, Mike Belopuhov wrote: > And what about OpenBSD-current or an attached patch as opposed > to the linked one? > > Please don't go half the way if you're willing to help us out, > we'd like to make OpenBSD 6.6-release work in these setups > especially since we believe that all

Re: Attach Hyper-V guest services to VMBus 4.0

2019-10-01 Thread Andre Stoebe
On 01.10.2019 00:25, Mike Belopuhov wrote: > > > Hi, > > I've got a verbal report that Hyper-V guest services aren't attached > on modern Windows 10 systems so I believe we should get this one-liner > in before 6.6. > > FreeBSD revision 349856 adds another define for VMBus 5.0 but AFAICT > it

Re: remove date from signify zsig

2019-03-19 Thread Andre Stoebe
On 18.03.2019 20:49, Ted Unangst wrote: > Andre Stoebe wrote: >> Hi, >> >> I, too, would like to have a way of signing the gzip archive in a >> reproducible way, so here's a diff that uses -n, similar to gzip(1). > > Thanks. I think it's more consistent to s

Re: remove date from signify zsig

2019-02-25 Thread Andre Stoebe
Hi, I, too, would like to have a way of signing the gzip archive in a reproducible way, so here's a diff that uses -n, similar to gzip(1). However, if that's a bad idea, I'm fine with continuing to use an unsigned gzip archive and creating a sigfile with signify. Regards Andre Index: signify.1