| 1 | package testutils |
| 2 | |
| 3 | import ( |
| 4 | "github.com/cilium/ebpf/internal/sys" |
| 5 | ) |
| 6 | |
| 7 | // setupUserNS being set indicates that the child should set up a user namespace |
| 8 | // before continuing with the test. Set by the parent before spawning the child |
| 9 | // process. |
| 10 | const setupUserNS = "SETUP_USERNS" |
| 11 | |
| 12 | type Delegated struct { |
| 13 | Cmds []sys.Cmd |
| 14 | Maps []sys.MapType |
| 15 | Progs []sys.ProgType |
| 16 | AttachTypes []sys.AttachType |
| 17 | } |