Re: pledge dhcpd(8), 1st attempt

2015-12-02 Thread Ricardo Mestre
Hi Stuart, You are right, they have, my problem in this case was that I'm trying to pledge earlier and with the codepaths I was using I was being blocked right there. I should have checked kern_pledge.c first and/or removed those earlier pledges to confirm if the problem really was from

Re: pledge dhcpd(8), 1st attempt

2015-12-01 Thread Stuart Henderson
On 2015/12/01 21:24, Ricardo Mestre wrote: > Hi tech@ > > This is my first attempt at pledging dhcpd(8), right now I don't have time to > go further, but this is a working diff I having seating at my tree I want to > show you, although tomorrow I intend to get back at it. > > Declare usage() as

pledge dhcpd(8), 1st attempt

2015-12-01 Thread Ricardo Mestre
Hi tech@ This is my first attempt at pledging dhcpd(8), right now I don't have time to go further, but this is a working diff I having seating at my tree I want to show you, although tomorrow I intend to get back at it. Declare usage() as __dead since it never returns, hoist up sync_init() since