commit | a056eca5ba8228b611216d919d6baca149258a53 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Sun Dec 13 22:19:38 2020 -0800 |
committer | David Anderson <dvander@google.com> | Mon Dec 14 00:48:50 2020 -0800 |
tree | 96b1ffce9300d69f0a06598909bc6e0008ffba6b | |
parent | 4e67f589de9578ced2fc0fb7be1ae74148173c92 [diff] |
snapuserd: Add a no-socket mode. In first-stage init, during the selinux transition, no socket is needed. It's even advantageous not to create one, since it greatly reduces the amount of avc audits. This patch allows starting snapuserd with a preset list of socket commands that it can run on startup. Bug: 173476209 Test: manual test Change-Id: I758d99097372e4dffb252e2836fd859b7fed162a