aboutsummaryrefslogtreecommitdiffstats
path: root/src/sandbox.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add missing pledge promises (drm, prot_exec) and source referencemurilo ijanc2026-03-251-10/+46
| | | | | Add reference to pledgereq[] in /usr/src/sys/kern/kern_pledge.c and include drm and prot_exec that were missing from the list.
* Add pledge(2) and unveil(2) sandboxing for tp and tpdmurilo ijanc2026-03-251-0/+77
tpd: unveil data dir (rwc), resolv.conf (r) when DNS needed, then pledge stdio rpath wpath cpath fattr inet unix dns. tp: unveil socket path (rw), then pledge stdio unix rpath.