aboutsummaryrefslogtreecommitdiff
path: root/security.d
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2017-07-11 10:56:07 +0200
committerFurkan Sahin <furkan-dev@proton.me>2017-07-11 10:56:07 +0200
commit531e33be3b422fe2130811447f3ec9cd1e2e71f6 (patch)
tree32c1c0b1782486980401fc0ea6c20bdf799b1070 /security.d
parent63fa4ba88324d990e07a9cb547cf0bb5781f63af (diff)
Add secucity config for FreeBSD.
Diffstat (limited to 'security.d')
-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
+
+