VR: Difference between revisions

Remove services.wivrn.defaultRuntime from example configuration, WiVRn manages the active runtime configuration itself and having it set this way will hang apps if a headset is not connected
Update bwrap.patch
 
Line 238: 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 69d319b..02e117d 100644
index e05f697..504512a 100644
--- a/bubblewrap.c
--- a/bubblewrap.c
+++ b/bubblewrap.c
+++ b/bubblewrap.c
@@ -876,13 +876,6 @@ acquire_privs (void)
@@ -791,13 +791,6 @@ acquire_privs (void)
       /* Keep only the required capabilities for setup */
       /* Historically we supported this, but now we only do user namespaces */
       set_required_caps ();
       die ("setuid use of bubblewrap is not supported");
     }
     }
-  else if (real_uid != 0 && has_caps ())
-  else if (real_uid != 0 && has_caps ())
Line 255: 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>