diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-17 00:07:52 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-17 00:07:52 +0900 |
| commit | 82a072f641b2b8eb4f966a01056283f93b57342f (patch) | |
| tree | 0b9c16370ac7ba825fb530c6483ff3e96f8b97d4 /internal/system/op_test.go | |
| parent | 60c10c3f4ae9b3093e75a22d03d6a1d0862a2f25 (diff) | |
system/tmpfiles: implement private tmpfiles
These are only available within the mount namespace and should significantly reduce attack surface.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/system/op_test.go')
| -rw-r--r-- | internal/system/op_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/system/op_test.go b/internal/system/op_test.go index 28929e6c..3e8c4d2d 100644 --- a/internal/system/op_test.go +++ b/internal/system/op_test.go @@ -100,7 +100,7 @@ func TestI_Equal(t *testing.T) { "op type mismatch", system.New(150). ChangeHosts("chronos"). - CopyFile("/tmp/fortify.1971/30c9543e0a2c9621a8bfecb9d874c347/pulse-cookie", "/home/ophestra/xdg/config/pulse/cookie"), + CopyFile(new([]byte), "/home/ophestra/xdg/config/pulse/cookie", 0, 256), system.New(150). ChangeHosts("chronos"). Ensure("/run", 0755), |
