All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] improvements to acl-ptest
@ 2016-05-18 21:30 Peter Seebach
  2016-05-18 21:30 ` [PATCH 1/1] acl.inc, run-ptest: improve ptest functionality on limited rootfs Peter Seebach
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Seebach @ 2016-05-18 21:30 UTC (permalink / raw)
  To: OE Core mailing list

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



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

end of thread, other threads:[~2016-05-18 21:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-18 21:30 [PATCH 0/1] improvements to acl-ptest Peter Seebach
2016-05-18 21:30 ` [PATCH 1/1] acl.inc, run-ptest: improve ptest functionality on limited rootfs Peter Seebach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.