Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] pseudo permissions: better fchmodat, mask out write bits
@ 2014-05-19 21:51 Peter Seebach
  2014-05-19 21:51 ` [PATCH 1/1] pseudo: handle fchmodat better, mask out unwanted " Peter Seebach
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Seebach @ 2014-05-19 21:51 UTC (permalink / raw)
  To: openembedded-core

(Sorry if this ends up getting duplicated, had mail server issues,
and there may be deferred copies floating around somewhere.)

Two changes:
1. Report failures from calling fchmodat with AT_SYMLINK_NOFOLLOW,
because otherwise GNU tar won't set modes as well as we would like
it to. (No effect on generated filesystems, I think, just on the
underlying local filesystem.)
2. Mask out write bits for non-user in the real filesystem, so other
users can't add stuff to the mode 777 directories in your rootfs.

The following changes since commit e273301efa0037a13c3a60b4414140364d9c9873:

  gstreamer/lame: Better gcc 4.9 fix (2014-05-15 23:27:41 +0100)

are available in the git repository at:
  git://git.yoctoproject.org/poky-contrib sees/pseudo-fchmodat
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/pseudo-fchmodat

Peter Seebach (1):
  pseudo: handle fchmodat better, mask out unwanted write bits

 .../pseudo/files/pseudo-fchmodat-permissions.patch |   98 ++++++++++++++++++++
 meta/recipes-devtools/pseudo/pseudo_1.5.1.bb       |    3 +-
 2 files changed, 100 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-devtools/pseudo/files/pseudo-fchmodat-permissions.patch



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

end of thread, other threads:[~2014-05-21 23:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-19 21:51 [PATCH 0/1] pseudo permissions: better fchmodat, mask out write bits Peter Seebach
2014-05-19 21:51 ` [PATCH 1/1] pseudo: handle fchmodat better, mask out unwanted " Peter Seebach
2014-05-21 15:14   ` Saul Wold
2014-05-21 18:58     ` Peter Seebach
2014-05-21 19:00       ` Burton, Ross
2014-05-21 23:08         ` Peter Seebach

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