Re: syscall call-from verification

2019-11-29 Thread Josh Elsasser
On Fri, Nov 29, 2019 at 10:12:10AM +0100, Thomas de Grivel wrote: > Maybe Go is not the only problem, I see SBCL compiling syscalls too. > > Truth is libc is for C and not all programs are written in C nowadays. Where are you seeing SBCL compiling direct syscalls? In my testing, SBCL self-hosts j

Fix libcompiler_rt __clear_cache() on armv7

2019-09-25 Thread Josh Elsasser
I came across some code which uses __clear_cache() from libgcc/libcompiler_rt on 32-bit arm. Currently that just falls through to abort(), but enabling the existing sysarch() code works for me. diff --git a/lib/libcompiler_rt/clear_cache.c b/lib/libcompiler_rt/clear_cache.c index 451f1c0b124..4902

Re: stack pointer checking

2018-01-15 Thread Josh Elsasser
It unmaps for each thread when it is destroyed, but never for the initial thread. On Sat, Jan 13, 2018 at 03:45:52PM -0700, Theo de Raadt wrote: > Does it not free it somewhere eventually? How is that handled. > > > > lang/sbcl will need a small patch: > > > > $OpenBSD$ > > > > Index: src/run

Re: stack pointer checking

2018-01-13 Thread Josh Elsasser
On Thu, Jan 11, 2018 at 08:39:25PM -0700, Theo de Raadt wrote: > Stefan (stefan@) and I have been working for a few months on this > diff, with help from a few others. > > At every trap and system call, it checks if the stack-pointer is on a > page that is marked MAP_STACK. execve() is changed to

Re: Allow raw sockets to process icmp echo requests.

2011-07-15 Thread Josh Elsasser
On Fri, Jul 15, 2011 at 08:13:59PM -0300, Christiano F. Haesbaert wrote: > Hi, this diff adds a sysctl to disable kernel icmp echo processing and pass it > to userland via raw sockets. I'm terrible with names but I chose userecho, so > net.inet.icmp.userecho. > > I did some basic tests and it seem

Re: correct mxcsr+mxcsr_mask handling (revised)

2010-12-27 Thread Josh Elsasser
On Mon, Dec 27, 2010 at 12:07:55PM -0800, Philip Guenther wrote: > Okay, check out the revised diff below. I've tested the updated amd64 > part; I would appreciate a confirmation from an i386 w/X11 user for that > part. Works for me, X runs and test program no longer drops us into ddb: OpenBSD

Re: utmpx for OpenBSD

2010-07-13 Thread Josh Elsasser
On Tue, Jul 13, 2010 at 10:28:47PM +, Christian Weisgerber wrote: > Theo de Raadt wrote: > > > > - posix_openpt(), grantpt(), unlockpt() and ptsname(), and > > > - utmpx. > > > > > > This causes a real burden on people trying to write network login > > > services, terminal emulators, termina

Re: /boot broken on latest snapshot ?

2010-07-09 Thread Josh Elsasser
On 2010-07-09 14:01:41, Christopher Zimmermann wrote: > On 07/09/10 14:19, Christopher Zimmermann wrote: > > Hi, > > > > I just upgraded to the very latest snapshot(9.7. 1:50) on i386. Now my > > system does not boot anymore. The only thing I get is: > > > > Using drive 0, partition 3. > > Loading.