summaryrefslogtreecommitdiff
path: root/internal/namespace/namespace.go
diff options
context:
space:
mode:
authorJames O'Doherty <james@theodohertyfamily.com>2026-05-22 10:14:03 -0400
committerJames O'Doherty <james@theodohertyfamily.com>2026-05-22 10:14:03 -0400
commit5dbc46f3c1c75bf922bcc1c3df342323c23c04ce (patch)
tree1a2840366e5d39aa3d9e8d868dd5893f5c488373 /internal/namespace/namespace.go
parent764d3e67fc783c487f42d398d1b85a5a1f0d8ef0 (diff)
docs: update README and AGENTS.md to reflect embedded launcher architecture
Diffstat (limited to 'internal/namespace/namespace.go')
-rw-r--r--internal/namespace/namespace.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/namespace/namespace.go b/internal/namespace/namespace.go
index 98d73b6..5e31b9d 100644
--- a/internal/namespace/namespace.go
+++ b/internal/namespace/namespace.go
@@ -84,14 +84,9 @@ func Bootstrap() error {
// 3. Prepare arguments for the launcher.
// The launcher expects: launcher <command_to_run> [args...]
- // syscall.Exec's second argument is the argv array.
- // argv[0] is set by the kernel to the launcherPath.
- // So our first slice element becomes argv[1].
args := []string{self}
args = append(args, os.Args[1:]...)
- fmt.Printf("[bootstrap] Execing launcher with args: %v\n", args)
-
// 4. Replace the current process with the launcher.
err = syscall.Exec(launcherPath, args, os.Environ())
if err != nil {