Re: Use -z notext -z norelro for armv7 efiboot

2018-06-22 Thread Philip Guenther
On Fri, Jun 22, 2018 at 3:04 AM Mark Kettenis wrote: > Creating relocations inside .text is inherent to the way we wrap an > ELF shared object inside a PE executable. But without -z notext > lld(1) complains about this. Also pass -z norelro to suppress the > creation of a separate rodata segmen

Re: make process.ps_start an uptime instead of a realtime

2018-06-22 Thread Scott Cheloha
On Tue, Jun 05, 2018 at 03:57:48PM -0600, Todd C. Miller wrote: > On Tue, 05 Jun 2018 16:30:14 -0500, Scott Cheloha wrote: > > > Because the system clock can jump around, process start times > > should be recorded as offsets from boot and only converted to > > a time of day on request. > > > > Thi

Re: Save and restore FPU state around signal handlers on armv7

2018-06-22 Thread Mark Kettenis
> Date: Fri, 22 Jun 2018 17:16:14 +0200 (CEST) > From: Mark Kettenis > > It takes the alpha/hppa/mips64 approach of storing the state in struct > sigcontext instead of using a pointer. Using unsigned int and > unsigned long long instead of uint32_t and uint64_t here to avoid > having to include

Re: DRI3/prime kernel implementation for OpenBSD

2018-06-22 Thread Mark Kettenis
And here is a version that supports radeon(4) as well. Still looking for oks... Index: dev/pci/drm/drmP.h === RCS file: /cvs/src/sys/dev/pci/drm/drmP.h,v retrieving revision 1.217 diff -u -p -r1.217 drmP.h --- dev/pci/drm/drmP.h 19

Re: [diff] httpd.conf.5 - consistent IPs, added examples

2018-06-22 Thread Stuart Henderson
On 2018/06/22 22:34, Mischa Peters wrote: > > > On 22 Jun 2018, at 22:20, Sebastian Benoit wrote: > > > > Jason McIntyre(j...@kerhand.co.uk) on 2018.06.22 19:38:55 +0100: > >>> On Fri, Jun 22, 2018 at 12:08:07AM +0200, Mischa wrote: > >>> Hi tech@, > >>> > >>> Changed httpd.conf.5 to be more co

signal to process or posix thread

2018-06-22 Thread Alexander Bluhm
Hi, Since the recent futex(2) changes the posixtestsuite regress does not finish within the given time frame. Depending on some races tests hang, e.g. this one: /usr/local/libexec/posixtestsuite/conformance/interfaces/pthread_atfork/3-3.test It spans a worker thread that allows to handle SIGUSR

Re: [diff] httpd.conf.5 - consistent IPs, added examples

2018-06-22 Thread Mischa Peters
> On 22 Jun 2018, at 22:20, Sebastian Benoit wrote: > > Jason McIntyre(j...@kerhand.co.uk) on 2018.06.22 19:38:55 +0100: >>> On Fri, Jun 22, 2018 at 12:08:07AM +0200, Mischa wrote: >>> Hi tech@, >>> >>> Changed httpd.conf.5 to be more consistent with IPs used, all documentation >>> IPs now. >

Re: [diff] httpd.conf.5 - consistent IPs, added examples

2018-06-22 Thread Jason McIntyre
On Fri, Jun 22, 2018 at 10:20:11PM +0200, Sebastian Benoit wrote: > Jason McIntyre(j...@kerhand.co.uk) on 2018.06.22 19:38:55 +0100: > > On Fri, Jun 22, 2018 at 12:08:07AM +0200, Mischa wrote: > > > Hi tech@, > > > > > > Changed httpd.conf.5 to be more consistent with IPs used, all > > > document

Re: [diff] httpd.conf.5 - consistent IPs, added examples

2018-06-22 Thread Sebastian Benoit
Jason McIntyre(j...@kerhand.co.uk) on 2018.06.22 19:38:55 +0100: > On Fri, Jun 22, 2018 at 12:08:07AM +0200, Mischa wrote: > > Hi tech@, > > > > Changed httpd.conf.5 to be more consistent with IPs used, all documentation > > IPs now. > > And added a couple of examples. 2 for dyamic pages, cgi and

Re: regress/rtable coredump

2018-06-22 Thread Alexander Bluhm
On Fri, Jun 22, 2018 at 08:21:23PM +0200, Denis Fondras wrote: > When trying to add multiple time the same prefix, ./fullfeed/fullfeed throws > 'Segmentation fault (core dumped)'. > > Here is a fix : OK bluhm@ > Index: util.c > ===

Re: [diff] httpd.conf.5 - consistent IPs, added examples

2018-06-22 Thread Jason McIntyre
On Fri, Jun 22, 2018 at 12:08:07AM +0200, Mischa wrote: > Hi tech@, > > Changed httpd.conf.5 to be more consistent with IPs used, all documentation > IPs now. > And added a couple of examples. 2 for dyamic pages, cgi and php. > One fairly common used rewrite rule for things like wordpress. > > M

regress/rtable coredump

2018-06-22 Thread Denis Fondras
When trying to add multiple time the same prefix, ./fullfeed/fullfeed throws 'Segmentation fault (core dumped)'. Here is a fix : Index: util.c === RCS file: /cvs/src/regress/sys/net/rtable/util.c,v retrieving revision 1.6 diff -u -p

Save and restore FPU state around signal handlers on armv7

2018-06-22 Thread Mark Kettenis
It takes the alpha/hppa/mips64 approach of storing the state in struct sigcontext instead of using a pointer. Using unsigned int and unsigned long long instead of uint32_t and uint64_t here to avoid having to include other headers. But I suppose I could include include and use __uint32_t and __u

Re: use __func__ in iked util.c log_debug

2018-06-22 Thread Gleydson Soares
On Fri, Jun 22, 2018 at 08:58:24AM -0400, Rob Pierce wrote: > ok? looks good to me, > > Index: util.c > === > RCS file: /cvs/src/sbin/iked/util.c,v > retrieving revision 1.35 > diff -u -p -r1.35 util.c > --- util.c13 Dec 2017 08

use __func__ in iked util.c log_debug

2018-06-22 Thread Rob Pierce
ok? Index: util.c === RCS file: /cvs/src/sbin/iked/util.c,v retrieving revision 1.35 diff -u -p -r1.35 util.c --- util.c 13 Dec 2017 08:27:06 - 1.35 +++ util.c 22 Jun 2018 12:52:09 - @@ -703,7 +703,7 @@ expand_s

Use -z notext -z norelro for armv7 efiboot

2018-06-22 Thread Mark Kettenis
Creating relocations inside .text is inherent to the way we wrap an ELF shared object inside a PE executable. But without -z notext lld(1) complains about this. Also pass -z norelro to suppress the creation of a separate rodata segment that makes lld(1) complain about relocations against a read-o

Re: About differences with GNU patch(1)

2018-06-22 Thread Jeremie Courreges-Anglas
On Fri, Jun 22 2018, Vadim Zhukov wrote: > So after a few discussions I propose to add --dry-run as synonim for -C > in our patch(1). Quick summary: > > * GNU got --dry-run earlier than us; > * --dry-run way more popular name than --check for such functionality; > * FreeBSD and NetBSD has th

Re: About differences with GNU patch(1)

2018-06-22 Thread Vadim Zhukov
So after a few discussions I propose to add --dry-run as synonim for -C in our patch(1). Quick summary: * GNU got --dry-run earlier than us; * --dry-run way more popular name than --check for such functionality; * FreeBSD and NetBSD has the same for a long time already; * We don't care abo

Re: DRI3/prime diff for xenocara

2018-06-22 Thread Stuart Henderson
On 2018/06/20 21:20, Mark Kettenis wrote: > This enables various DRI3-related bits in xenocara. Matthieu warns me > that this will make the Mesa libraries depend on libxshmfence wich > he thinks will lead to WANTLIB churn in ports... > > Is that going to be a problem? That's not going to be a pr