landlock_optional = true
mount_isolation_fallback = false
[path_groups]
system_binaries = true
system_libraries = true
temp_directories = true
device_files = true
proc_filesystem = true
wsl_paths = true
[[custom_paths]]
path = "."
permission = "readwriteexecute"
[[custom_paths]]
path = "/etc/passwd"
permission = "readonly"
[[custom_paths]]
path = "/root/"
permission = "readexecute"
[[custom_paths]]
path = "/root/.xiaoo/"
permission = "readexecute"
[[custom_paths]]
path = "/usr/lib/.xiaoo/skills/xiaoo-guardian/"
permission = "readexecute"
[[custom_paths]]
path = "~/.xiaoo/skills/xiaoo-guardian/"
permission = "readexecute"
[[custom_paths]]
path = "/root/.profile"
permission = "readonly"
[[custom_paths]]
path = "/root/.bashrc"
permission = "readonly"
[[custom_paths]]
path = "/root/.cargo/"
permission = "readexecute"
[[custom_paths]]
path = "/etc/profile"
permission = "readonly"
[namespaces]
mount = true
pid = true
network = true
user = true
[network_policy]
enabled = true
mode = "enforce"
default_action = "deny"
[[network_policy.rules]]
action = "allow"
direction = "outbound"
protocol = "tcp"
hosts = ["github.com", "pypi.org", "gitcode.com"]
ports = [[443, 443]]
[resources]
timeout_secs = 300
max_memory_bytes = 2147483648
max_processes = 80
[environment]
whitelist = ["PATH", "LANG", "HOME", "USER", "TERM", "SHELL", "PWD", "GIT_PAGER", "PAGER"]