WIP/sandboxing #29

Κλειστά
crtxcr θέλει να συγχωνεύσει 4 υποβολές από WIP/sandboxing σε master
2 αρχεία άλλαξαν με 5 προσθήκες και 2 διαγραφές
Εμφάνιση μόνο αλλαγών της υποβολής f0260ee14a - Εμφάνιση όλων των υποβολών

@ -46,7 +46,10 @@ int main(int argc, char *argv[])
std::string cacheDataLocation = QStandardPaths::writableLocation(QStandardPaths::CacheLocation).toStdString();
std::string sockPath = socketPath.toStdString();
policy->namespace_options = EXILE_UNSHARE_NETWORK | EXILE_UNSHARE_USER;
policy->vow_promises = EXILE_SYSCALL_VOW_THREAD | EXILE_SYSCALL_VOW_CPATH | EXILE_SYSCALL_VOW_WPATH |
EXILE_SYSCALL_VOW_RPATH | EXILE_SYSCALL_VOW_UNIX | EXILE_SYSCALL_VOW_STDIO |
EXILE_SYSCALL_VOW_PROT_EXEC | EXILE_SYSCALL_VOW_PROC | EXILE_SYSCALL_VOW_SHM |
EXILE_SYSCALL_VOW_FSNOTIFY | EXILE_SYSCALL_VOW_IOCTL;
exile_append_path_policy(policy, EXILE_FS_ALLOW_ALL_READ | EXILE_FS_ALLOW_REMOVE_FILE, "/");
exile_append_path_policy(policy, EXILE_FS_ALLOW_ALL_READ | EXILE_FS_ALLOW_ALL_WRITE, appDataLocation.c_str());
exile_append_path_policy(policy, EXILE_FS_ALLOW_ALL_READ | EXILE_FS_ALLOW_ALL_WRITE, cacheDataLocation.c_str());

@ -1 +1 @@
Subproject commit d742397b522eb91513bab54a3aa992dfb7121462
Subproject commit 4824c6eaa9043878daaba7b3778338f5bf913f06