Use pledge(2) on OpenBSD
Submitted by Jasper Lievisse Adriaanse
Assigned to Hans Petter Jansson @hpj
Link to original bug (#104367)
Description
Created attachment 136363 Use pledge on OpenBSD
The attached patch modifies update-desktop-database to limit the set of system calls it's allowed to invoke through pledge[1].
1: https://man.openbsd.org/pledge
Attachment 136363, "Use pledge on OpenBSD":
0001-Use-pledge-2-on-OpenBSD-to-limit-the-sets-of-syscall.patch