commonmark / cmark

CommonMark parsing and rendering library and program in C
Other
1.62k stars 539 forks source link

Use libseccomp in cmark, when available #381

Open CyberShadow opened 3 years ago

CyberShadow commented 3 years ago

When libseccomp is available, use it to restrict our privileges when running on Linux.

Unfortunately, even with a helper library (libseccomp), the API is quite a bit more verbose than OpenBSD's pledge. :)