summaryrefslogtreecommitdiffstats
path: root/security.d
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2017-07-11 10:19:28 -0400
committerLibravatar Drew DeVault <ddevault@vistarmedia.com>2017-07-11 20:08:24 -0400
commitff1eccfabcec262981e0b9152f2a48665ab75d3e (patch)
treee3ba7424c31d9121d2f05c69d71e970b935e949a /security.d
parentMerge pull request #1270 from tobiasblass/bindsym_use_after_free (diff)
downloadsway-0.14-rc4.tar.gz
sway-0.14-rc4.tar.zst
sway-0.14-rc4.zip
Merge pull request #1271 from johalun/master-securityconf-freebsd0.14-rc4
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 @@
1# sway security rules
2#
3# FreeBSD does not support getting client PID from server side
4# so we can not know the path to the client's binary.
5#
6# The solution for now is to be permissive and allow all
7# features by default for any client.
8
9# Configures enabled compositor features for specific programs
10permit * fullscreen keyboard mouse background screenshot panel lock
11
12