From 58f8bb61faed0574085d23d3179b6805be6b0f77 Mon Sep 17 00:00:00 2001 From: Rebecca Mahany-Horton Date: Tue, 11 Jun 2024 10:14:45 -0400 Subject: [PATCH] Specify usage for allowedcmd --- ee/allowedcmd/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/allowedcmd/cmd.go b/ee/allowedcmd/cmd.go index a2c119448..eb8afa7c2 100644 --- a/ee/allowedcmd/cmd.go +++ b/ee/allowedcmd/cmd.go @@ -4,7 +4,7 @@ package allowedcmd // We mostly use hardcoded (known, safe) paths to executables, but make an exception // to allow for looking up executable locations when it's not possible to know these // locations in advance -- e.g. on NixOS, we cannot know the specific store path ahead -// of time. +// of time. All usage of exec.Cmd in launcher should use this package. import ( "context"