sway/include
Daniel De Graaf c292679c5c Label-based security on privileged globals
This adds a command (security_label) which is used to allow or deny access to
privileged interfaces on a client-by-client basis. If no security configuration
it present, all privileged operations are allowed to all clients.

 - "security_label deny default *" will deny clients access to all privileged
   operations
 - "security_label set default layer_shell" will overwrite the access list for
   the label "default" and only allow access to the layer_shell interface
 - "security_label permit recorder screencopy_manager" allows connections that
   have the label "recorder" access to screencopy_manager in addition to the
   current permissions of the "recorder" label

If a client does not have a label or if the label's permissions were not
defined using security_label, the permissions for the "default" label are used;
if no definition for "default" is present, all interfaces are allowed.

Using permit or deny on a new label does not copy the default.

The security configuration state is reset on a config reload (similar to the
assign and for_window lists).  Currently, the security policy is only enforced
during the binding or enumeration of global resources; existing handles to
privileged interfaces are not invalided by a change in policy, and existing
clients are not informed of the presence of newly available interfaces.
2022-04-17 09:56:30 -04:00
..
sway Label-based security on privileged globals 2022-04-17 09:56:30 -04:00
swaybar swaybar: properly draw blocks with transparent black border 2021-09-20 09:53:32 +02:00
swaynag swaynag: remove xdg-output logic 2021-12-13 20:17:20 -06:00
background-image.h cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:28:32 +02:00
cairo_util.h cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:28:32 +02:00
ipc-client.h refactor: use JSON_MAX_DEPTH everywhere 2021-10-25 10:18:40 +02:00
ipc.h i3-compat: add GET_BINDING_STATE IPC command 2020-06-14 00:55:14 -04:00
list.h list.c: rename free_flat_list to list_free_items_and_destroy 2018-12-09 01:15:38 +00:00
log.h Use -fmacro-prefix-map to strip build path 2019-07-15 16:35:50 -04:00
loop.h Remove timerfd from loop implementation 2018-10-15 00:26:27 +10:00
meson.build Address review comments 2018-03-28 14:43:23 -04:00
pango.h Rename pango_printf to render_text 2021-09-13 14:22:51 +02:00
pool-buffer.h cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:28:32 +02:00
stringop.h common: make 'lenient_strcmp' arguments const 2020-12-04 10:49:49 +01:00
util.h input: Move get_current_time_msec in from util 2021-06-23 09:55:36 +02:00