nvidia-container-toolkit/cmd/nvidia-ctk/hook
Ievgen Popovych eb35d9b30a nvidia-ctk hook chmod: Ignore permission errors
In some cases we might get a permission error trying to chmod -
most likely this is due to something beyond our control
like whole `/dev` being mounted.
Do not fail container creation in this case.

Due to loosing control of the program after `exec()`-ing `chmod(1)` program
and therefore not being able to handle errors -
refactor to use `chmod(2)` syscall instead of `exec()` `chmod(1)` program.

Fixes: #143
Signed-off-by: Ievgen Popovych <jmennius@gmail.com>
2023-11-20 01:29:51 +02:00
..
chmod nvidia-ctk hook chmod: Ignore permission errors 2023-11-20 01:29:51 +02:00
create-symlinks Fix misspellings 2023-10-24 20:00:24 +02:00
update-ldcache Add nolint for exec calls 2023-10-24 20:11:34 +02:00
hook.go Define a basic logger interface 2023-06-12 10:46:10 +02:00