Re: pledging fork?

2016-04-24 Thread Bryan Irvine
Can someone commit this please? :-) --- theo.c 2016-04-24 16:04:34.0 -0700 +++ theo.c.new 2016-04-24 16:05:25.0 -0700 @@ -195,6 +195,7 @@ "I want a new vax, one that's not so slow.", "This sausage is made from unsound meat.", "The people who wrote this code are not on your

Re: pledging fork?

2016-04-24 Thread Sebastien Marie
On Sun, Apr 24, 2016 at 05:53:45PM +0100, ra...@openmailbox.org wrote: > I'm having a problem with pledge on openbsd > > #include > void main(void) { pledge("proc", NULL); fork(); } > > when I run this I get: > > Program received signal SIGABRT, Aborted. > 0x05f7309c70ba in mprotect () at

Re: pledging fork?

2016-04-24 Thread Theo de Raadt
If you can't use ktrace, you should not try to do pledge work. You are not tall enough to ride. >I'm having a problem with pledge on openbsd > >#include >void main(void) { pledge("proc", NULL); fork(); } > >when I run this I get: > >Program received signal SIGABRT, Aborted. >0x05f7309c70ba

pledging fork?

2016-04-24 Thread rain1
I'm having a problem with pledge on openbsd #include void main(void) { pledge("proc", NULL); fork(); } when I run this I get: Program received signal SIGABRT, Aborted. 0x05f7309c70ba in mprotect () at :2 here is a backtrace #0 0x05f7309c70ba in mprotect () at :2 #1