aboutsummaryrefslogtreecommitdiff
path: root/security.d/10-freebsd.in
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-07-11 10:19:28 -0400
committerGitHub <noreply@github.com>2017-07-11 10:19:28 -0400
commitdf17a268b92aef2ff0fbcc14d7a2457cbb0968b1 (patch)
tree32c1c0b1782486980401fc0ea6c20bdf799b1070 /security.d/10-freebsd.in
parent8fad213f346daee628c0548f9a06179f602ada3a (diff)
parenta3c07273ba5c1f786271655ebd47468b1a225e9c (diff)
downloadsway-df17a268b92aef2ff0fbcc14d7a2457cbb0968b1.tar.xz
Merge pull request #1271 from johalun/master-securityconf-freebsd
Add secucity config for FreeBSD.
Diffstat (limited to 'security.d/10-freebsd.in')
-rw-r--r--security.d/10-freebsd.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/security.d/10-freebsd.in b/security.d/10-freebsd.in
new file mode 100644
index 00000000..de405f70
--- /dev/null
+++ b/security.d/10-freebsd.in
@@ -0,0 +1,12 @@
+# sway security rules
+#
+# FreeBSD does not support getting client PID from server side
+# so we can not know the path to the client's binary.
+#
+# The solution for now is to be permissive and allow all
+# features by default for any client.
+
+# Configures enabled compositor features for specific programs
+permit * fullscreen keyboard mouse background screenshot panel lock
+
+