Port openrsync to FreeBSD using capsicum. Note that currently it doesn't work with sending directories because there is no version of fts that's usable under capability mode such as fts_openat.
Submitted by: Bora Ozarslan borako.ozarslan@gmail.com
Differential D19407
Port openrsync to FreeBSD using capsicum Authored by borako.ozarslan_gmail.com on Feb 28 2019, 6:56 PM. Tags None Referenced Files
Details
Port openrsync to FreeBSD using capsicum. Note that currently it doesn't work with sending directories because there is no version of fts that's usable under capability mode such as fts_openat. Submitted by: Bora Ozarslan borako.ozarslan@gmail.com
Diff Detail
Event TimelineComment Actions Also note for others arriving at this review: this is not suitable for upstreaming; we intentionally removed the existing OpenBSD pledge/unveil calls because the primary goal with this review is to investigate the approach and differences. If there is an upstream appetite for portable sandboxing we'll look at #ifdefs etc.
Comment Actions FYI I've proposed a GSoC project to capsicumize the fts(3) family of functions. That would enable finishing the OpenRsync port.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||