diff --git a/internal/app/seal.go b/internal/app/seal.go index 549de16..c9ec4bc 100644 --- a/internal/app/seal.go +++ b/internal/app/seal.go @@ -24,8 +24,8 @@ import ( "git.gensokyo.uk/security/fortify/internal/fmsg" "git.gensokyo.uk/security/fortify/internal/sys" "git.gensokyo.uk/security/fortify/sandbox" + "git.gensokyo.uk/security/fortify/sandbox/wl" "git.gensokyo.uk/security/fortify/system" - "git.gensokyo.uk/security/fortify/wl" ) const ( diff --git a/sandbox/container.go b/sandbox/container.go index 31da929..ee4f632 100644 --- a/sandbox/container.go +++ b/sandbox/container.go @@ -1,3 +1,4 @@ +// Package sandbox implements unprivileged Linux container with hardening options useful for creating application sandboxes. package sandbox import ( diff --git a/wl/conn.go b/sandbox/wl/conn.go similarity index 100% rename from wl/conn.go rename to sandbox/wl/conn.go diff --git a/wl/consts.go b/sandbox/wl/consts.go similarity index 100% rename from wl/consts.go rename to sandbox/wl/consts.go diff --git a/wl/wayland-bind.c b/sandbox/wl/wayland-bind.c similarity index 100% rename from wl/wayland-bind.c rename to sandbox/wl/wayland-bind.c diff --git a/wl/wayland-bind.h b/sandbox/wl/wayland-bind.h similarity index 100% rename from wl/wayland-bind.h rename to sandbox/wl/wayland-bind.h diff --git a/wl/wl.go b/sandbox/wl/wl.go similarity index 100% rename from wl/wl.go rename to sandbox/wl/wl.go diff --git a/system/wayland.go b/system/wayland.go index 12c7a28..7a459dd 100644 --- a/system/wayland.go +++ b/system/wayland.go @@ -6,7 +6,7 @@ import ( "os" "git.gensokyo.uk/security/fortify/acl" - "git.gensokyo.uk/security/fortify/wl" + "git.gensokyo.uk/security/fortify/sandbox/wl" ) // Wayland sets up a wayland socket with a security context attached.