On Thu, Jan 28, 2016 at 10:11 PM, Daniel Dickman <didick...@gmail.com> wrote: > On Thu, Jan 28, 2016 at 12:51 PM, Frederic Cambus <f...@statdns.com> wrote: >> Hi ports@, >> >> This diff adds support for pledge() to the current Lynx version. >> >> + >> ++ if (pledge("stdio tty cpath rpath wpath dns inet proc exec", NULL) == >> -1) { >> ++ err(EXIT_FAILURE, "pledge"); >> ++ } >> ++ > > i have ioctl in my local patch. is it not needed? > > is it possible to get rid of proc exec? I didn't add them on my end...
Also should it call "err" or "exit_immediately" on failure?