linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* adding CAP_RESERVED_# bits
@ 2025-06-06 17:57 Luigi Semenzato
  2025-06-06 18:32 ` Casey Schaufler
  2025-06-07  2:11 ` Paul Moore
  0 siblings, 2 replies; 8+ messages in thread
From: Luigi Semenzato @ 2025-06-06 17:57 UTC (permalink / raw)
  To: linux-security-module

Recently I inquired about the decision process for adding a CAP_DRM
bit to capability.h (to become DRM master).  It occurred to me that
the process for adding ANY bit would be fraught with controversies (to
say the least).

So I looked into maintaining a patch in our own kernel sources, but
that was surprisingly messy due to the build-time dependencies of
capability.h and the way we maintain and share sources internally for
multiple kernel versions.  This would have been quite simple if there
were a few reserved bits, such as CAP_RESERVED_0, ..,
CAP_RESERVED_<N-1> with, say, N=3.

Would this also be controversial?

Thanks!

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

end of thread, other threads:[~2025-06-28  3:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-06 17:57 adding CAP_RESERVED_# bits Luigi Semenzato
2025-06-06 18:32 ` Casey Schaufler
2025-06-06 20:11   ` Luigi Semenzato
2025-06-06 20:42     ` Casey Schaufler
2025-06-06 21:49       ` Luigi Semenzato
2025-06-07  2:11 ` Paul Moore
2025-06-27 20:26   ` Luigi Semenzato
2025-06-28  3:40     ` Serge E. Hallyn

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).