[OE-core] [PATCH 0/1] improvements to acl-ptest
Peter Seebach
peter.seebach at windriver.com
Wed May 18 21:30:46 UTC 2016
The acl tests assume that umask is 022 (or similar) by default
for some of the permissions tests. The existing run-ptest script
also assumes availability of gpasswd, which we tend to remove by
default, and that the current filesystem supports ACLs. Fix
this by adding a line to the test script for the umask, and making
run-ptest use direct sed to alter /etc/group (it really does need
to) and use a temporary filesystem. (This creates a requirement for
mkfs.ext3, which may be a problem, but it works in our usual
environment, so I figure I'll leave it that way for now?)
The following changes since commit 2fef37fab6967410aff33744c8843bcae028de56:
gcc: Security fix CVE-2016-4490 (2016-05-17 14:42:18 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib seebs/aclptest
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/aclptest
Peter Seebach (1):
acl.inc, run-ptest: improve ptest functionality on limited rootfs
meta/recipes-support/attr/acl.inc | 1 +
meta/recipes-support/attr/acl/run-ptest | 67 ++++++++++++++++++--
.../attr/acl/test-fix-directory-permissions.patch | 24 +++++++
3 files changed, 87 insertions(+), 5 deletions(-)
create mode 100644 meta/recipes-support/attr/acl/test-fix-directory-permissions.patch
More information about the Openembedded-core
mailing list