mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-11-22 08:13:59 +00:00
The clipboard and notification imports ran wl-paste, wl-copy and notify-send with no deadline and no size limits, and took the clipboard text whole. A notification's icon could be any path or URL, and nothing said which app sent it, so an app could pass one off as the system's. Each helper now runs with a 5-second deadline, after which it is killed and the call fails. Clipboard text is at most 1 MiB in either direction. A notification's title is at most 256 bytes and its body 4096, its icon must be an icon theme name, and it is sent with the app's ID as the application name. Unit tests run real processes for the deadline, the output limit, input passing and failure reporting, and check the notification bounds. check_grants.py still passes. |
||
|---|---|---|
| .. | ||
| weft-app-shell | ||
| weft-appd | ||
| weft-build-meta | ||
| weft-compositor | ||
| weft-file-portal | ||
| weft-ipc-types | ||
| weft-mount-helper | ||
| weft-pack | ||
| weft-runtime | ||
| weft-servo-shell | ||