diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-07 21:38:31 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-07 21:38:31 +0900 |
| commit | 584ce3da685352847e5c6189e5050bd5cb0307e9 (patch) | |
| tree | 4bd313118df607449569bbe23a910af501e9166b /internal/app/spcontainer.go | |
| parent | 5d18af00077ae6ba8ef686d1fd93d888f69681b2 (diff) | |
container/bits: move bind bits
This allows referring to the bits without importing container.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/spcontainer.go')
| -rw-r--r-- | internal/app/spcontainer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/app/spcontainer.go b/internal/app/spcontainer.go index aed6d927..96afecb7 100644 --- a/internal/app/spcontainer.go +++ b/internal/app/spcontainer.go @@ -104,7 +104,7 @@ func (s *spParamsOp) toContainer(state *outcomeStateParams) error { if !state.Container.Device { state.params.DevWritable(fhs.AbsDev, true) } else { - state.params.Bind(fhs.AbsDev, fhs.AbsDev, container.BindWritable|container.BindDevice) + state.params.Bind(fhs.AbsDev, fhs.AbsDev, bits.BindWritable|bits.BindDevice) } // /dev is mounted readonly later on, this prevents /dev/shm from going readonly with it state.params.Tmpfs(fhs.AbsDev.Append("shm"), 0, 01777) |
