Closed holsta closed 3 years ago
Few observations...
Will start testing with this diff and report any pledge violations.
Thanks for the input, @snimmagadda.
In the mean time, chneukirchen clairfied to me that they prefer to avoid the ifdefs and instead wrap the pledge call in xpledge(). Should we just keep local patches in the port, do you think?
Hi all,
I'm interested in this work. As a first step I have rebased the patches from Alex on master (can't find the original repository from Alex anymore so I grepped 0300a112 from this PR and created a new commit myself which credits Alex).
@leahneukirchen where would you like to have xpledge defined? I don't see a generic include used by all progams.
(for those interested I'm working in https://github.com/timkuijsten/mblaze/tree/renewpledge)
I think blaze822.h
is used by most code. Put xpledge into a separate file.
I should like some input and testing on non-OpenBSD platforms on these changes.
Also, anyone on OpenBSD who can verify the pledges does not break functionality are invited to try out this work.