All of lore.kernel.org
 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; 7+ 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] 7+ messages in thread
* [PATCH 0/1] Revised pseudo-fchmodat (updated upstream-status)
@ 2014-05-21 23:12 Peter Seebach
  2014-05-21 23:12 ` [PATCH 1/1] pseudo: handle fchmodat better, mask out unwanted write bits Peter Seebach
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Seebach @ 2014-05-21 23:12 UTC (permalink / raw)
  To: OE-core

This is the pseudo-fchmodat patch, same code, but with an upstream-status
thing to indicate that it's a backport. (Slightly complicated because this
was three patches in the upstream branch, and I just merged in the combined
results so it'd be easier to see what was happening, and no one would have
to review a patch and reject it for obvious bugs that are fixed in the
next patch.)

The following changes since commit f1727bb18f35ff01e53d3d442a6ff3c613639fa6:

  guile: Update to 2.0.11 version (2014-05-21 10:50:37 -0700)

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

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

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



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

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

Thread overview: 7+ 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
  -- strict thread matches above, loose matches on Subject: below --
2014-05-21 23:12 [PATCH 0/1] Revised pseudo-fchmodat (updated upstream-status) Peter Seebach
2014-05-21 23:12 ` [PATCH 1/1] pseudo: handle fchmodat better, mask out unwanted write bits 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.