Snapd snap is excluded from refresh-app-awareness runinhibit checks, fix the test that broke after the two independent r-a-a PRs landed at the same time.
0f81745... by igorljubuncic <email address hidden>
interfaces: add ACRN hypervisor support (#11097)
* Add interface and support for ACRN hypervisor
* Update interfaces/builtin/acrn.go
Co-authored-by: Ian Johnson <email address hidden>
* Update interfaces/builtin/acrn.go
Co-authored-by: Ian Johnson <email address hidden>
* Update interfaces/builtin/acrn.go
Co-authored-by: Maciej Borzecki <email address hidden>
* acrn: goformat acrn interface and add initial interface tests
* tests: add "acrn" to test-snapd-policy-app-consumer
* interfaces: rename "acrn" to "acrn-support"
* fix silly typo
* interfaces/builtin: small tweaks
Co-authored-by: Ian Johnson <email address hidden> Co-authored-by: Maciej Borzecki <email address hidden> Co-authored-by: Philip Meulengracht <email address hidden> Co-authored-by: Samuele Pedroni <email address hidden> Co-authored-by: Michael Vogt <email address hidden>
libsnap-confine-private: show proper error when aa_change_onexec() fails
The call to secure_getenv() can overwrite the `errno` variable because it internally invokes getauxval(), which could set `errno` to `ENOENT`.
This was discovered examining an error log containing these lines:
run-hook: Error ERROR run hook "configure": ----- cannot change profile for the next exec call: No such file or directory snap-update-ns failed with code 1 -----