News for hackers. Stuff that matters.
Re:Why does OpenBSD still include Perl in its base installat... by anthk on Saturday May 30, 2020 @10:03AM (#23361251)
Perl5 is pledged.
Re:Why does OpenBSD still include Perl in its base installat... by notaplumber on Saturday May 30, 2020 @10:20AM (#23361366)
No it's not. It has language bindings for pledge(2), which is different. There can be no one size fits all pledge for an interpreted language like perl, as programs can make arbitrary calls to anything they want. But those programs can use pledge, as long as they consider the requirements of the runtime itself.

http://man.openbsd.org/man3p/OpenBSD::Pledge.3p

Re:Why does OpenBSD still include Perl in its base installat... by anthk on Saturday May 30, 2020 @10:27AM (#23361412)
That's what I wanted to mean, sorry. OFC an interpreter itself can't be pledged.
Re:Why does OpenBSD still include Perl in its base installat... by notaplumber on Saturday May 30, 2020 @10:29AM (#23361424)
Saying something is pledged has a very specific meaning. And in this context, has no relevance to the discussion as none of the perl components in base make use of these bindings.