Add checks for "host user contamination"
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v13 patches 8 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | insane.bbclass: handle tests which need fakerootmeta/ | +8 | 0 replies | |
| 2/3 | insane.bbclass: add host-user-contaminated testmeta/ | +35 | 0 replies | |
| 3/3 | image.bbclass: add rootfs_check_host_user_contaminatedmeta/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCHv2 0/3] Add checks for "host user contamination"
From: Christopher Larson <[email protected]>
This adds a QA test, as well as a rootfs_ function for use in ROOTFS_POSTPROCESS_COMMAND, to warn/error when paths are owned by the same user/group as the user running bitbake. This is useful to catch stuff which is written outside of pseudo's control, for example.
v2 changes: handle missing files in the host-user-contamined test by catching ENOENT OSErrors from os.lstat.
The following changes since commit bdeb32b4cdbe316f17c2fd854d59e05e8f2e8ffc:
rt-tests: drop unnecessary added-missing-dependencies.patch (2015-09-01 11:43:38 +0100)
are available in the git repository at:
git://github.com/kergoth/openembedded-core host-user-contaminated
https://github.com/kergoth/openembedded-core/tree/host-user-contaminated
Christopher Larson (3):
insane.bbclass: handle tests which need fakeroot insane.bbclass: add host-user-contaminated test image.bbclass: add rootfs_check_host_user_contaminated
meta/classes/image.bbclass | 14 ++++++++++++++ meta/classes/insane.bbclass | 43 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 56 insertions(+), 1 deletion(-)
Signature · 1 line
2.2.1