linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] pstore: Make default pstorefs root dir perms 0750
@ 2017-08-10 20:36 Kees Cook
  2017-08-10 20:36 ` [PATCH 1/2] " Kees Cook
  2017-08-10 20:36 ` [PATCH 2/2] Revert "pstore: Honor dmesg_restrict sysctl on dmesg dumps" Kees Cook
  0 siblings, 2 replies; 14+ messages in thread
From: Kees Cook @ 2017-08-10 20:36 UTC (permalink / raw)
  To: linux-kernel
  Cc: Kees Cook, Nick Kralevich, Sebastian Schmidt, Tony Luck,
	Anton Vorontsov, Colin Cross, Petr Mladek, Sergey Senozhatsky,
	Steven Rostedt, Patrick Tjin, Mark Salyzyn

Nick Kralevich pointed out that it was rather problematic to check
capabilities when reading some pstore files. Instead, opt for a more
configurable DAC approach, but retain the general protection by making the
pstorefs root directory mode 0750. It was 0755, but most crash-handlers
will also be performing unlink operations (which DAC would require a
root uid perm for already), so this shouldn't affect anyone, but rather
make permissions more flexible.

-Kees

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

end of thread, other threads:[~2017-08-17 23:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-10 20:36 [PATCH 0/2] pstore: Make default pstorefs root dir perms 0750 Kees Cook
2017-08-10 20:36 ` [PATCH 1/2] " Kees Cook
2017-08-16  8:05   ` Sergey Senozhatsky
2017-08-10 20:36 ` [PATCH 2/2] Revert "pstore: Honor dmesg_restrict sysctl on dmesg dumps" Kees Cook
2017-08-15 11:55   ` Petr Mladek
2017-08-15 19:01     ` Kees Cook
2017-08-16  0:21   ` Steven Rostedt
2017-08-16  0:29     ` Kees Cook
2017-08-16  0:35       ` Steven Rostedt
2017-08-16  7:59   ` Sergey Senozhatsky
2017-08-16 15:38     ` Kees Cook
2017-08-17  1:29       ` Sergey Senozhatsky
2017-08-17 23:01         ` Kees Cook
2017-08-17 23:24           ` Sergey Senozhatsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).