mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-06-26 18:18:24 +00:00
Add nolint for exec calls
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
@@ -127,6 +127,7 @@ func (m command) run(c *cli.Context, cfg *config) error {
|
||||
|
||||
args := append([]string{filepath.Base(chmodPath), cfg.mode}, paths...)
|
||||
|
||||
//nolint:gosec // TODO: Can we harden this so that there is less risk of command injection
|
||||
return syscall.Exec(chmodPath, args, nil)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user