diff options
Diffstat (limited to 'ldd/exec.go')
| -rw-r--r-- | ldd/exec.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ldd/exec.go b/ldd/exec.go index 5554d9b0..ef5bf7b8 100644 --- a/ldd/exec.go +++ b/ldd/exec.go @@ -13,6 +13,7 @@ import ( "hakurei.app/container/check" "hakurei.app/container/fhs" "hakurei.app/container/seccomp" + "hakurei.app/message" ) const ( @@ -25,7 +26,7 @@ var ( msgStaticGlibc = []byte("not a dynamic executable") ) -func Exec(ctx context.Context, msg container.Msg, p string) ([]*Entry, error) { +func Exec(ctx context.Context, msg message.Msg, p string) ([]*Entry, error) { c, cancel := context.WithTimeout(ctx, lddTimeout) defer cancel() |
