diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-19 15:51:56 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-19 15:51:56 +0900 |
| commit | cfad02947d33ed17a1857ab1b33c7fd44cad8dc9 (patch) | |
| tree | 18553e0550ffd5d0c81a440a0d30daed1cdb646d /container/mount.go | |
| parent | 58913f00845903aa2068f6cb0778baa563d58d14 (diff) | |
ext: add additional constants
This removes the syscall cutoff thresholds, instead declaring all
syscall number constants in package ext.
This also removes two constants from package container which were
inadvertently exported for 386 and amd64.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/mount.go')
| -rw-r--r-- | container/mount.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/mount.go b/container/mount.go index 84415fa8..978b90a9 100644 --- a/container/mount.go +++ b/container/mount.go @@ -123,7 +123,7 @@ func (p procPaths) remount(msg message.Msg, target string, flags uintptr) error { var destFd int if err := ext.IgnoringEINTR(func() (err error) { - destFd, err = p.k.open(targetFinal, O_PATH|O_CLOEXEC, 0) + destFd, err = p.k.open(targetFinal, ext.O_PATH|O_CLOEXEC, 0) return }); err != nil { return &os.PathError{Op: "open", Path: targetFinal, Err: err} |
