mirror of
https://github.com/swaywm/sway.git
synced 2026-04-29 06:46:22 -04:00
Remove FreeBSD specific security config
Since we're going to require clients to have been spawned by sway to be trusted, we can ditch the FreeBSD config
This commit is contained in:
parent
b80a4b27f1
commit
14f89600a8
2 changed files with 6 additions and 34 deletions
|
|
@ -168,21 +168,12 @@ configure_file(
|
||||||
install_dir: sysconfdir + '/sway'
|
install_dir: sysconfdir + '/sway'
|
||||||
)
|
)
|
||||||
|
|
||||||
if is_freebsd
|
|
||||||
configure_file(
|
|
||||||
configuration: config,
|
|
||||||
input: 'security.d/10-freebsd.in',
|
|
||||||
output: '@BASENAME@',
|
|
||||||
install_dir: sysconfdir + '/sway/security.d'
|
|
||||||
)
|
|
||||||
else
|
|
||||||
configure_file(
|
configure_file(
|
||||||
configuration: config,
|
configuration: config,
|
||||||
input: 'security.d/00-defaults.in',
|
input: 'security.d/00-defaults.in',
|
||||||
output: '@BASENAME@',
|
output: '@BASENAME@',
|
||||||
install_dir: sysconfdir + '/sway/security.d'
|
install_dir: sysconfdir + '/sway/security.d'
|
||||||
)
|
)
|
||||||
endif
|
|
||||||
|
|
||||||
install_data(
|
install_data(
|
||||||
'sway.desktop',
|
'sway.desktop',
|
||||||
|
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
# 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
|
|
||||||
|
|
||||||
ipc * {
|
|
||||||
* enabled
|
|
||||||
events {
|
|
||||||
* enabled
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue