Watch
1
0
Fork
You've already forked RedFlag
0
RedFlag/web/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Fimeg 2084019be7 fix: grant CAP_SYS_PTRACE on agent binary for display/process discovery
The agent runs as redflag-agent user and cannot read /proc/[pid]/environ
from the logged-in user's session processes (owner-only permissions).
Without this, discoverSessionDisplay() finds nothing — screenshot fails
on Wayland because XDG_RUNTIME_DIR/WAYLAND_DISPLAY are never discovered.

- Installer: setcap cap_sys_ptrace=eip after placing the binary
- Helper (agent self-update): restore setcap after atomic replace,
  since rename() creates a new inode and strips file capabilities

Non-fatal if setcap is unavailable — agent degrades gracefully,
just loses screenshot and per-process telemetry.
2026-06-11 02:01:42 -04:00
..
components fix: build errors + move platform info under screenshot card 2026-06-08 22:37:31 -04:00
desktop feat: v0.2.6.8 — dark/light tray app theme, version bump 2026-06-08 17:22:01 -04:00
hooks fix: build errors + move platform info under screenshot card 2026-06-08 22:37:31 -04:00
lib fix: README, .env.example, ErrorBoundary, client-logger, HEALTHCHECK, Docker hygiene 2026-06-08 18:23:39 -04:00
pages fix: grant CAP_SYS_PTRACE on agent binary for display/process discovery 2026-06-11 02:01:42 -04:00
types fix: README, .env.example, ErrorBoundary, client-logger, HEALTHCHECK, Docker hygiene 2026-06-08 18:23:39 -04:00
App.tsx fix: README, .env.example, ErrorBoundary, client-logger, HEALTHCHECK, Docker hygiene 2026-06-08 18:23:39 -04:00
index.css v0.2.1.3: fix dry-run version targeting, migration 046, helper cgroup access, UI refresh 2026-05-31 11:52:36 -04:00
main.tsx refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
vite-env.d.ts refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00