Skip to content

FelixPehla/run_with_wayland_security_context_v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

run_with_wayland_security_context_v1

Execute a program attached to a wayland security context

Usage (example): ./run_with_wl_security_context /usr/bin/wayland-info

Dependencies:

  • make (build)
  • pkgconf (build)
  • wayland-protocols (build)
  • wayland-scanner (build)

Caveats:

  • The wayland socket bound to a security context is passed to children using $WAYLAND_DISPLAY but the original wayland socket (e.g. ${XDG_RUNTIME_DIR}/wayland-[0-9]) can still be accessed - in a sandbox you would want to prevent its use through namespaces or other means.
  • $WAYLAND_SOCKET is unset for the child process.

About

Execute a program attached to a wayland security context

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published