News for hackers. Stuff that matters.
Re:OpenBSD's Pledge and Unveil from Python by jancsika on Wednesday September 15, 2021 @12:36PM (#28541259)
Just ask OpenBSD to provide a pledge_sig and unveil_sig that simply return a C string where each character is the type of the corresponding argument.

E.g., if pledge_sig returns "ss" you know you're dealing either with the bona fide OpenBSD pledge or an evil demon.

There are no comments on this comment yet.