Re: UVM coredump API change

2017-02-15 Thread Philip Guenther
On Wed, 15 Feb 2017, Philip Guenther wrote: ... > I have a followup diff that then alters uvm_unix.c to treat unshared amaps > (anonymous maps) as multiple ranges such that pages that were never > faulted don't get written to the coredump: it's useless to write them out > (they're just zeros) an

UVM coredump API change

2017-02-15 Thread Philip Guenther
uvm_coredump_walkmap() is the API used by the ELF code to get information about the process's memory image so that it can write it out to the core file. Currently, uvm_coredump_walkmap() just does a pass across the process's VA, invoking a callback on each range. The ELF code executes it twic

Update to www/faq/faq14.html for FDE on UEFI

2017-02-15 Thread Jason Tubnor
Hi, I have added the fdisk(8) flags required for full disk encryption setups on UEFI hosts to www/faq/faq14.html Thanks! Index: faq14.html === RCS file: /cvs/www/faq/faq14.html,v retrieving revision 1.340 diff -u -p -r1.340 faq14.ht

Re: Is it worth considering changing the installer default offset from 64 to a higher value?

2017-02-15 Thread Tom Smyth
Thanks Stuart, you went further than I Did :) On Wed, Feb 15, 2017 at 11:39 PM, Stuart Henderson wrote: > On 2017/02/15 23:22, Tom Smyth wrote: >> Hello, >> >> I have been installing OpenBSD quite a bit in a virtualization >> environment and the >> underlying storage has been formatted in 1MB bl

Re: Is it worth considering changing the installer default offset from 64 to a higher value?

2017-02-15 Thread Stuart Henderson
On 2017/02/15 23:22, Tom Smyth wrote: > Hello, > > I have been installing OpenBSD quite a bit in a virtualization > environment and the > underlying storage has been formatted in 1MB blocks, and most other operating > systems have recommended for best performance to align the partition on a 1MB >

Is it worth considering changing the installer default offset from 64 to a higher value?

2017-02-15 Thread Tom Smyth
Hello, I have been installing OpenBSD quite a bit in a virtualization environment and the underlying storage has been formatted in 1MB blocks, and most other operating systems have recommended for best performance to align the partition on a 1MB Offset rather than a smaller value. the reasoning

Re: route foreach

2017-02-15 Thread Mike Belopuhov
On 15 February 2017 at 19:08, Alexander Bluhm wrote: > Hi, > > Replace some manual loops with FOREACH macro. > > ok? > > bluhm > Looks good to me, OK mikeb

route foreach

2017-02-15 Thread Alexander Bluhm
Hi, Replace some manual loops with FOREACH macro. ok? bluhm Index: net/route.c === RCS file: /data/mirror/openbsd/cvs/src/sys/net/route.c,v retrieving revision 1.350 diff -u -p -r1.350 route.c --- net/route.c 5 Feb 2017 16:23:38 -0

Re: rcctl(8) does not set flags

2017-02-15 Thread Theo Buehler
> > Having it documented or not, the diff below removes an unneeded step, > > since "-tun 4" is already the default for nfsd. > > I have no opinion on that one. Sure it's not necessary but maybe it makes it > more obvious as a documentation. Dunno... We can't just delete the line since it serves

Re: rcctl(8) does not set flags

2017-02-15 Thread Antoine Jacoutot
On Wed, Feb 15, 2017 at 02:22:31PM -0200, Daniel Bolgheroni wrote: > Hi tech@, > > Setting, for example > > # rcctl enable nfsd > # rcctl set nfsd flags -tun 4 > > has no effect on /etc/rc.conf.local. This is also true for other cases > where the default flags for the daemon are equal to the fl

rcctl(8) does not set flags

2017-02-15 Thread Daniel Bolgheroni
Hi tech@, Setting, for example # rcctl enable nfsd # rcctl set nfsd flags -tun 4 has no effect on /etc/rc.conf.local. This is also true for other cases where the default flags for the daemon are equal to the flags you're trying to set. It seemed a problem at first, since there is no reference