lpereira / lwan

Experimental, scalable, high performance HTTP server
https://lwan.ws
GNU General Public License v2.0
5.94k stars 548 forks source link

Re-expose straitjackets #337

Closed HalosGhost closed 1 year ago

HalosGhost commented 2 years ago

Commit e758902550d92c1c1ea6758ad2b22a8e73a6039e moved lwan_straitjacket_enforce and friends to lwan-private.h. It seems like there's no C API equivalent/alternative available to drop privileges or isolate lwan to operate only in the directories where it should have access.

Is there an alternative that I've missed or a plan for a replacement?

lpereira commented 1 year ago

Fixed for a while, closing.