linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.24-rc3-mm2 - add-64-bit-capability-support-to-the-kernel
@ 2007-12-01  8:18 Valdis.Kletnieks
  2007-12-03 15:03 ` Serge E. Hallyn
  0 siblings, 1 reply; 3+ messages in thread
From: Valdis.Kletnieks @ 2007-12-01  8:18 UTC (permalink / raw)
  To: Andrew Morgan; +Cc: Serge Hallyn, Andrew Morton, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 586 bytes --]

Question:

The patch does the semantic equivalent of:

-#define cap_clear(c)         do { cap_t(c) =  0; } while(0)
-#define cap_set_full(c)      do { cap_t(c) = ~0; } while(0)

+# define cap_clear(c)         do { (c) = __cap_empty_set; } while (0)
+# define cap_set_full(c)      do { (c) = __cap_full_set; } while (0)
+# define cap_set_init_eff(c)  do { (c) = __cap_init_eff_set; } while (0)

Was it intentional, or an oversight, that this blows chunks in modules
that try to use cap_clear() or cap_set_full() because the __cap_*
symbols don't get an EXPORT_SYMBOL() attached to them?

[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

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

end of thread, other threads:[~2007-12-06  1:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-01  8:18 2.6.24-rc3-mm2 - add-64-bit-capability-support-to-the-kernel Valdis.Kletnieks
2007-12-03 15:03 ` Serge E. Hallyn
2007-12-06  1:46   ` Andrew Morgan

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