aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/share.system.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2024-12-21 18:11:32 +0900
committerOphestra <cat@gensokyo.uk>2024-12-21 18:11:32 +0900
commit7a8b625a57c496b880d6ea0d497b8fd0bb066bc6 (patch)
treefa7ff710c88240791214fc91077833371fec4411 /internal/app/share.system.go
parent8bf12bbe683c1edc2c0b1091f87a710630f09bdb (diff)
app: rename /fortify to /.fortify
Also removed the inner share tmpfs mount. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/share.system.go')
-rw-r--r--internal/app/share.system.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/app/share.system.go b/internal/app/share.system.go
index db4ff53e..2e65ac69 100644
--- a/internal/app/share.system.go
+++ b/internal/app/share.system.go
@@ -33,9 +33,6 @@ func (seal *appSeal) shareSystem() {
seal.sys.Ensure(targetTmpdir, 01700)
seal.sys.UpdatePermType(system.User, targetTmpdir, acl.Read, acl.Write, acl.Execute)
seal.sys.bwrap.Bind(targetTmpdir, "/tmp", false, true)
-
- // mount tmpfs on inner shared directory (e.g. `/tmp/fortify.%d`)
- seal.sys.bwrap.Tmpfs(seal.SharePath, 1*1024*1024)
}
func (seal *appSeal) sharePasswd(os linux.System) {