From d8f76f3b2594db4687c0203c4f2be8d3e4ef7740 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Wed, 4 Sep 2024 01:20:12 +0900 Subject: rename to fortify and restructure More sandbox features will be added and this will no longer track ego's features and behaviour. Signed-off-by: Ophestra Umiker --- internal/state/register.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 internal/state/register.go (limited to 'internal/state/register.go') diff --git a/internal/state/register.go b/internal/state/register.go new file mode 100644 index 00000000..2fff565e --- /dev/null +++ b/internal/state/register.go @@ -0,0 +1,12 @@ +package state + +func RegisterRevertPath(p string) { + cleanupCandidate = append(cleanupCandidate, p) +} + +func XcbActionComplete() { + if xcbActionComplete { + Fatal("xcb inserted twice") + } + xcbActionComplete = true +} -- cgit v1.3.1