public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/morello/main] TODO(uapi): cheri: Fix sigevent ABI
@ 2022-08-05 19:37 Szabolcs Nagy
  0 siblings, 0 replies; only message in thread
From: Szabolcs Nagy @ 2022-08-05 19:37 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d8173e2496e25ef68e409049eff1b672982af21c

commit d8173e2496e25ef68e409049eff1b672982af21c
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Thu Jun 16 15:37:31 2022 +0100

    TODO(uapi): cheri: Fix sigevent ABI
    
    TODO: depends on kernel sigevent definition update.

Diff:
---
 sysdeps/unix/sysv/linux/bits/types/sigevent_t.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sysdeps/unix/sysv/linux/bits/types/sigevent_t.h b/sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
index e8b28de7e3..ab0a6c0690 100644
--- a/sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
+++ b/sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
@@ -7,7 +7,11 @@
 
 #define __SIGEV_MAX_SIZE	64
 #if __WORDSIZE == 64
-# define __SIGEV_PAD_SIZE	((__SIGEV_MAX_SIZE / sizeof (int)) - 4)
+# ifdef __CHERI_PURE_CAPABILITY__
+#  define __SIGEV_PAD_SIZE	((__SIGEV_MAX_SIZE / sizeof (int)) - 8)
+# else
+#  define __SIGEV_PAD_SIZE	((__SIGEV_MAX_SIZE / sizeof (int)) - 4)
+# endif
 #else
 # define __SIGEV_PAD_SIZE	((__SIGEV_MAX_SIZE / sizeof (int)) - 3)
 #endif


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-05 19:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-05 19:37 [glibc/arm/morello/main] TODO(uapi): cheri: Fix sigevent ABI Szabolcs Nagy

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 read-only IMAP folder(s) and NNTP newsgroup(s).