Merge pull request #1271 from johalun/master-securityconf-freebsd

Add secucity config for FreeBSD.
This commit is contained in:
Drew DeVault 2017-07-11 10:19:28 -04:00 committed by Drew DeVault
parent cd3da45799
commit ff1eccfabc
2 changed files with 16 additions and 0 deletions

12
security.d/10-freebsd.in Normal file
View file

@ -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