Weng Xuetian
0402e1614c
Limit the usage of WAYLAND_SOCKET to an opt-in feature
...
1. For security context creation, only relies on WAYLAND_DISPLAY, do not
use WAYLAND_SOCKET since the file descriptor defined by WAYLAND_SOCKET
can be only consumed once.
2. Due to the incompatiblity between WAYLAND_SOCKET and the security
context, add a new permission --socket=inherit-wayland-socket
to limit the usage of WAYLAND_SOCKET to an opt-in feature. Only when
this flag is set, WAYLAND_SOCKET will be passed to the sandbox.
3. When WAYLAND_SOCKET is not inherited, set FD_CLOEXEC to avoid it to
be leaked the to sandbox.
Closes : #5614
2024-02-14 19:39:50 +00:00
..
2023-03-30 14:54:18 +02:00
2016-07-12 00:41:13 -04:00
2020-08-10 15:14:38 +02:00
2020-11-13 10:32:19 +01:00
2020-11-13 10:32:19 +01:00
2024-02-14 19:39:50 +00:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2024-02-14 19:39:50 +00:00
2022-08-16 10:50:29 +02:00
2022-08-16 10:50:29 +02:00
2022-02-11 14:45:32 +01:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2022-01-10 09:40:40 +01:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2022-08-16 10:37:36 +02:00
2024-01-22 09:38:27 -06:00
2022-08-16 10:50:29 +02:00
2022-08-16 10:50:29 +02:00
2022-08-16 10:50:29 +02:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2022-08-16 10:50:29 +02:00
2022-08-16 10:50:29 +02:00
2022-08-16 10:50:29 +02:00
2024-02-14 19:39:50 +00:00
2024-02-14 19:39:50 +00:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2020-08-10 15:14:38 +02:00
2022-08-16 10:50:29 +02:00
2020-08-10 15:14:38 +02:00
2022-08-16 10:50:29 +02:00
2022-08-16 10:50:29 +02:00
2022-08-16 10:50:29 +02:00
2022-08-16 10:50:29 +02:00
2022-08-16 10:50:29 +02:00
2024-01-22 09:38:27 -06:00
2022-08-16 10:50:29 +02:00
2022-08-16 10:50:29 +02:00
2020-08-10 15:14:38 +02:00
2024-02-14 19:39:50 +00:00
2022-08-16 10:50:29 +02:00
2022-02-24 10:41:02 +00:00
2020-10-29 17:19:47 +01:00
2022-08-16 10:50:29 +02:00
2022-08-16 10:50:29 +02:00
2024-01-22 09:38:27 -06:00
2022-10-24 16:12:14 +01:00
2022-10-24 16:12:14 +01:00
2023-02-21 09:20:02 +00:00
2017-04-14 10:43:40 -04:00