Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCHv2 0/3] Add checks for "host user contamination"
@ 2015-09-01 22:22 Christopher Larson
  2015-09-01 22:23 ` [PATCHv2 1/3] insane.bbclass: handle tests which need fakeroot Christopher Larson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christopher Larson @ 2015-09-01 22:22 UTC (permalink / raw)
  To: openembedded-core; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

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(-)

-- 
2.2.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-01 22:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-01 22:22 [PATCHv2 0/3] Add checks for "host user contamination" Christopher Larson
2015-09-01 22:23 ` [PATCHv2 1/3] insane.bbclass: handle tests which need fakeroot Christopher Larson
2015-09-01 22:23 ` [PATCHv2 2/3] insane.bbclass: add host-user-contaminated test Christopher Larson
2015-09-01 22:23 ` [PATCHv2 3/3] image.bbclass: add rootfs_check_host_user_contaminated Christopher Larson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox