diff options
author | Érico Rolim <erico.erc@gmail.com> | 2020-05-14 02:28:22 -0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-14 09:36:09 +0200 |
commit | aa48b926be21bfe9713a9caf36ce10b5345e50ab (patch) | |
tree | 7bce9a80cc2d224b4cdcb9e40c684aaac9ab671d | |
parent | commands: Add per-view shortcuts_inhibitor command (diff) | |
download | sway-aa48b926be21bfe9713a9caf36ce10b5345e50ab.tar.gz sway-aa48b926be21bfe9713a9caf36ce10b5345e50ab.tar.zst sway-aa48b926be21bfe9713a9caf36ce10b5345e50ab.zip |
security.d: remove directory
Remove the entries from meson.build as well.
-rw-r--r-- | meson.build | 16 | ||||
-rw-r--r-- | security.d/00-defaults.in | 50 | ||||
-rw-r--r-- | security.d/10-freebsd.in | 19 |
3 files changed, 0 insertions, 85 deletions
diff --git a/meson.build b/meson.build index 75e06e3d..54484cec 100644 --- a/meson.build +++ b/meson.build | |||
@@ -209,22 +209,6 @@ configure_file( | |||
209 | install_dir: join_paths(sysconfdir, 'sway') | 209 | install_dir: join_paths(sysconfdir, 'sway') |
210 | ) | 210 | ) |
211 | 211 | ||
212 | if is_freebsd | ||
213 | configure_file( | ||
214 | configuration: config, | ||
215 | input: 'security.d/10-freebsd.in', | ||
216 | output: '@BASENAME@', | ||
217 | install_dir: join_paths(sysconfdir, 'sway', 'security.d') | ||
218 | ) | ||
219 | else | ||
220 | configure_file( | ||
221 | configuration: config, | ||
222 | input: 'security.d/00-defaults.in', | ||
223 | output: '@BASENAME@', | ||
224 | install_dir: join_paths(sysconfdir, 'sway', 'security.d') | ||
225 | ) | ||
226 | endif | ||
227 | |||
228 | install_data( | 212 | install_data( |
229 | 'sway.desktop', | 213 | 'sway.desktop', |
230 | install_dir: join_paths(datadir, 'wayland-sessions') | 214 | install_dir: join_paths(datadir, 'wayland-sessions') |
diff --git a/security.d/00-defaults.in b/security.d/00-defaults.in deleted file mode 100644 index be7b9d06..00000000 --- a/security.d/00-defaults.in +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | # sway security rules | ||
2 | # | ||
3 | # Read sway-security(7) for details on how to secure your sway install. | ||
4 | # | ||
5 | # You MUST read this man page if you intend to attempt to secure your sway | ||
6 | # installation. | ||
7 | # | ||
8 | # DO NOT CHANGE THIS FILE. Override these defaults by writing new files in | ||
9 | # @sysconfdir@/sway/security.d/* | ||
10 | |||
11 | # Configures enabled compositor features for specific programs | ||
12 | permit * fullscreen keyboard mouse | ||
13 | permit @prefix@/bin/swaylock lock | ||
14 | permit @prefix@/bin/swaybg background | ||
15 | permit @prefix@/bin/swaybar panel | ||
16 | |||
17 | # Configures enabled IPC features for specific programs | ||
18 | ipc @prefix@/bin/swaymsg { | ||
19 | * enabled | ||
20 | |||
21 | events { | ||
22 | * disabled | ||
23 | } | ||
24 | } | ||
25 | |||
26 | ipc @prefix@/bin/swaybar { | ||
27 | bar-config enabled | ||
28 | outputs enabled | ||
29 | workspaces enabled | ||
30 | command enabled | ||
31 | |||
32 | events { | ||
33 | workspace enabled | ||
34 | mode enabled | ||
35 | } | ||
36 | } | ||
37 | |||
38 | ipc @prefix@/bin/swaylock { | ||
39 | outputs enabled | ||
40 | } | ||
41 | |||
42 | # Limits the contexts from which certain commands are permitted | ||
43 | commands { | ||
44 | * all | ||
45 | |||
46 | fullscreen binding criteria | ||
47 | bindsym config | ||
48 | exit binding | ||
49 | kill binding | ||
50 | } | ||
diff --git a/security.d/10-freebsd.in b/security.d/10-freebsd.in deleted file mode 100644 index 533b526a..00000000 --- a/security.d/10-freebsd.in +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
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 | ||
10 | permit * fullscreen keyboard mouse background screenshot panel lock | ||
11 | |||
12 | ipc * { | ||
13 | * enabled | ||
14 | events { | ||
15 | * enabled | ||
16 | } | ||
17 | } | ||
18 | |||
19 | |||