On 2019/06/07 19:05, Solene Rapenne wrote: > Hi, > > This is a first draft to add pledge and unveil to net/irssi. > > About the Makefile, I added PORTHOME=${WRKDIST} so "make test" run with > 100% of success. > > The current implementation of pledge/unveil is under a #ifdef > HAVE_PLEDGE so I defined it there.
Nothing is calling pledge_init (I noticed because there's no "p" flag showing in ps, and to be honest also because it didn't crash like I was expecting it to with my configuration ;-) > Plugins works as far as I can tell, I did try the few I use. I think there will likely be problems here, plugins can be written in various languages, pull in various libraries, and legitimately do pretty much anything, the whole modular design doesn't seem very compatible with pledge to me.