Skip to content

Commit

Permalink
update patch context
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@14322 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 28, 2016
1 parent 91bb1f6 commit 0efd30a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/patches/selinux-homesocket.patch
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ Index: selinux/cups_xpra/cups_xpra.te
type init_var_run_t;
type passwd_file_t;
type print_spool_t;
@@ -41,3 +43,8 @@

allow cups_xpra_t user_tmp_t:sock_file write;

@@ -46,3 +48,9 @@
#to generate the default xpra config object,
#we may need to getattr the Xorg binary:
allow cups_xpra_t xserver_exec_t:file getattr;
+
+#allow connection to the socket in ~/.xpra
+allow cups_xpra_t user_home_t:dir search;
+allow cups_xpra_t user_home_t:sock_file write;
Expand Down

0 comments on commit 0efd30a

Please sign in to comment.