]> git.ipfire.org Git - thirdparty/shairport-sync.git/commit
initial pledge(2) on OpenBSD 1803/head
authorKlemens Nanni <kn@openbsd.org>
Mon, 12 Feb 2024 11:23:46 +0000 (12:23 +0100)
committerKlemens Nanni <kn@openbsd.org>
Mon, 12 Feb 2024 11:23:46 +0000 (12:23 +0100)
commit5cdde02c9a03df2b1c02bba4934459278390192f
tree931e9d1113bae1df7035193aeb9c0203fde7fd05
parent00a47584049789286e4ced0d95745066e4b0cb77
initial pledge(2) on OpenBSD

Limit the set of system calls shairport-sync is allowed to make,
most importantly fork(2)/execve(2) if and only if user defined commands
are run.

OpenBSD's official audio/shairport-sync port already ships with this
patch.

https://man.openbsd.org/pledge.2
shairport.c