commit | ea00b68ee51e0affeebb50fc86f446b641a60c93 | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Tue Feb 09 13:29:05 2021 +0000 |
committer | Florian Mayer <fmayer@google.com> | Tue Feb 09 13:29:05 2021 +0000 |
tree | 8ad32243d5f23c3169304c5eac4ec8c40451b964 | |
parent | 5cefb23c4fbcdd230188383d365bdfd43a17541f [diff] |
Allow shell to create shell_[test_]_data_file sockets. This makes it easier to write some tests without requiring root for creating a temporary socket. Test: m Test: atest perfetto_integrationtests with https://r.android.com/1575345 passed with this CL failed without with avc: denied { create } for name="traced_consumer" scontext=u:r:shell:s0 tcontext=u:object_r:shell_data_file:s0 tclass=sock_file permissive=0 Change-Id: I281778259a55973cda9d6e7af6dea5637591502c