VR: Difference between revisions
m Fix spelling mistakes |
Update bwrap.patch |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 139: | Line 139: | ||
enable = true; | enable = true; | ||
openFirewall = true; | openFirewall = true; | ||
# Run WiVRn as a systemd service on startup | # Run WiVRn as a systemd service on startup | ||
| Line 243: | Line 238: | ||
}} | }} | ||
{{file|/etc/nixos/bwrap.patch|diff|3=diff --git a/bubblewrap.c b/bubblewrap.c | {{file|/etc/nixos/bwrap.patch|diff|3=diff --git a/bubblewrap.c b/bubblewrap.c | ||
index | index e05f697..504512a 100644 | ||
--- a/bubblewrap.c | --- a/bubblewrap.c | ||
+++ b/bubblewrap.c | +++ b/bubblewrap.c | ||
@@ - | @@ -791,13 +791,6 @@ acquire_privs (void) | ||
/* | /* Historically we supported this, but now we only do user namespaces */ | ||
die ("setuid use of bubblewrap is not supported"); | |||
} | } | ||
- else if (real_uid != 0 && has_caps ()) | - else if (real_uid != 0 && has_caps ()) | ||
| Line 260: | Line 255: | ||
{ | { | ||
/* If our uid is 0, default to inheriting all caps; the caller | /* If our uid is 0, default to inheriting all caps; the caller | ||
}} | |name=|lang=}} | ||
<translate> | <translate> | ||