| 1 | //go:build gokrazy |
| 2 | |
| 3 | package restrict |
| 4 | |
| 5 | var defaultRoDirs = []string{ |
| 6 | // See restrictdefault_others.go for rationale |
| 7 | "/etc", |
| 8 | // On systems with a read-only root file systems (like gokrazy), |
| 9 | // /etc/resolv.conf is a symlink to /tmp/resolv.conf, |
| 10 | // so we also need read-only access to /tmp. |
| 11 | "/tmp", |
| 12 | } |