summaryrefslogtreecommitdiff
path: root/docs/hacking
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-06-07 17:32:35 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-06-07 17:32:35 +0200
commit6f961fc09dd633d0bcf5397787139c0032e0661e (patch)
tree1cbf7c1ec6411eaafcc60b73d7dcd1bbce221f7c /docs/hacking
parentaa13a3156865e0e2156a5619387bb50e738419b7 (diff)
[docs] note about debugging osx helper
Diffstat (limited to 'docs/hacking')
-rw-r--r--docs/hacking/osx.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/hacking/osx.rst b/docs/hacking/osx.rst
index 3a75dea7..e80f1d97 100644
--- a/docs/hacking/osx.rst
+++ b/docs/hacking/osx.rst
@@ -19,6 +19,17 @@ workaround in an issue in qutebrowser's repo, works fine for me for now::
https://raw.githubusercontent.com/Homebrew/homebrew/f802822b0fa35ad362aebd0101ccf83a638bed37/Library/Formula/{py,}qt5.rb
brew install qt5 pyqt5
+Debugging bitmask-helper
+------------------------
+
+Bitmask communicates with the privileged ``bitmask-helper`` through a unix
+socket. If you need to debug the privileged helper (for instance, if you need to
+tear down the firewall after a crash), you can do it like this with
+``socat``::
+
+ echo 'firewall_stop/CMD' | socat - UNIX-CONNECT:/tmp/bitmask-helper.socket
+
+
Other notes
-----------