Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

901 B
Raw Blame
//go:build !windows

package sysacl

// POSIX carries these guarantees in root ownership and file modes, which the install and the
// packaging scripts already set, so there is nothing to apply and nothing to inspect.

func SecureSystemTree(root string, skip ...string) error { return nil }

func SecureLogDir(dir, base string) error { return nil }

func InspectLogDir(dir, base string) (LogDirState, error) {
	return LogDirState{HooksCanAppend: true}, nil
}

func SecureRestrictedLogDir(dir, base, readersSID string) error { return nil }

func SecureRestrictedLock(path string) error { return nil }

func InspectRestrictedLogDir(dir, base, readersSID string) ([]string, error) { return nil, nil }

// ResetLogDirToShared is a no-op off Windows.
func ResetLogDirToShared(string) error { return nil }

// LooksRestricted is false off Windows.
func LooksRestricted(string, string) bool { return false }