TestOnlySetGlobalInit sets the thread group with ID 1 in the root PID namespace.
(tg *ThreadGroup)
| 1837 | |
| 1838 | // TestOnlySetGlobalInit sets the thread group with ID 1 in the root PID namespace. |
| 1839 | func (k *Kernel) TestOnlySetGlobalInit(tg *ThreadGroup) { |
| 1840 | k.globalInit = tg |
| 1841 | } |
| 1842 | |
| 1843 | // ApplicationCores returns the number of CPUs visible to sandboxed |
| 1844 | // applications. |