forked from security/hakurei
app: rename /fortify to /.fortify
Also removed the inner share tmpfs mount. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user