commit | a341025f8712bf7e26ff0126b84b7f2f1bbe130d | [log] [tgz] |
---|---|---|
author | Victor Hsieh <victorhsieh@google.com> | Wed Dec 15 16:48:07 2021 -0800 |
committer | Victor Hsieh <victorhsieh@google.com> | Wed Dec 15 16:54:28 2021 -0800 |
tree | dc1ea4ad56823e82cc53cb0839bb72ceac923c5f | |
parent | ac45ef86f5ffbf39687324cb0a50afb32170c3c0 [diff] |
Allow odrefresh to use FD inherited from compsvc If FD use is not allowed, execve(2) returns EACCESS and the process is killed by SIGSEGV. Minijail closes any FDs by default and open /dev/null for FD 0-2. For now, odrefresh doesn't use any FD. But until we could tell minijail to not create FD 0-2 (which could be arguable), allow the permission. Bug: 210909688 Test: composd_cmd async-odrefresh # exit 80 in enforced mode Change-Id: I8643d8bfc8da03439a04491fba5ba6de663760eb