VR: Difference between revisions

Ravoyax (talk | contribs)
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;
  # Write information to /etc/xdg/openxr/1/active_runtime.json, VR applications
  # will automatically read this and work with WiVRn (Note: This does not currently
  # apply for games run in Valve's Proton)
    defaultRuntime = 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 8322ea0..4e20262 100644
index e05f697..504512a 100644
--- a/bubblewrap.c
--- a/bubblewrap.c
+++ b/bubblewrap.c
+++ b/bubblewrap.c
@@ -868,13 +868,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 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>