public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/morello/main] cheri: elf: Adjust Elf64_auxv_t for capabilities
@ 2022-08-05 19:34 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-08-05 19:34 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8022e6934eaf4faa20bfd8acdd99bea2e687247b
commit 8022e6934eaf4faa20bfd8acdd99bea2e687247b
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Thu Jun 10 13:50:17 2021 +0100
cheri: elf: Adjust Elf64_auxv_t for capabilities
The Elf64_auxv_t needs to be adjusted for the new capability size.
Diff:
---
elf/elf.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/elf/elf.h b/elf/elf.h
index 741383610e..6ced67f7c1 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1159,6 +1159,14 @@ typedef struct
typedef struct
{
+#if defined __CHERI_PURE_CAPABILITY__
+ uint64_t a_type;
+ uint64_t __pad;
+ union
+ {
+ __uintcap_t a_val;
+ } a_un;
+#else
uint64_t a_type; /* Entry type */
union
{
@@ -1167,6 +1175,7 @@ typedef struct
though, since it does not work when using 32-bit definitions
on 64-bit platforms and vice versa. */
} a_un;
+#endif
} Elf64_auxv_t;
/* Legal values for a_type (entry type). */
^ permalink raw reply [flat|nested] 4+ messages in thread
* [glibc/arm/morello/main] cheri: elf: Adjust Elf64_auxv_t for capabilities
@ 2022-11-23 14:44 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-11-23 14:44 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4b0cb26b3b2faa0247c8d5dc3348808ffae1e94a
commit 4b0cb26b3b2faa0247c8d5dc3348808ffae1e94a
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Thu Jun 10 13:50:17 2021 +0100
cheri: elf: Adjust Elf64_auxv_t for capabilities
The Elf64_auxv_t needs to be adjusted for the new capability size.
Diff:
---
elf/elf.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/elf/elf.h b/elf/elf.h
index 5b80879d74..3cae516775 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1159,6 +1159,14 @@ typedef struct
typedef struct
{
+#if defined __CHERI_PURE_CAPABILITY__
+ uint64_t a_type;
+ uint64_t __pad;
+ union
+ {
+ __uintcap_t a_val;
+ } a_un;
+#else
uint64_t a_type; /* Entry type */
union
{
@@ -1167,6 +1175,7 @@ typedef struct
though, since it does not work when using 32-bit definitions
on 64-bit platforms and vice versa. */
} a_un;
+#endif
} Elf64_auxv_t;
/* Legal values for a_type (entry type). */
^ permalink raw reply [flat|nested] 4+ messages in thread
* [glibc/arm/morello/main] cheri: elf: Adjust Elf64_auxv_t for capabilities
@ 2022-10-27 13:54 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-10-27 13:54 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=429fa3afd26e91598884f687eac20e60a2dc56cc
commit 429fa3afd26e91598884f687eac20e60a2dc56cc
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Thu Jun 10 13:50:17 2021 +0100
cheri: elf: Adjust Elf64_auxv_t for capabilities
The Elf64_auxv_t needs to be adjusted for the new capability size.
Diff:
---
elf/elf.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/elf/elf.h b/elf/elf.h
index 878dc9bf83..5f0b90f4c4 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1159,6 +1159,14 @@ typedef struct
typedef struct
{
+#if defined __CHERI_PURE_CAPABILITY__
+ uint64_t a_type;
+ uint64_t __pad;
+ union
+ {
+ __uintcap_t a_val;
+ } a_un;
+#else
uint64_t a_type; /* Entry type */
union
{
@@ -1167,6 +1175,7 @@ typedef struct
though, since it does not work when using 32-bit definitions
on 64-bit platforms and vice versa. */
} a_un;
+#endif
} Elf64_auxv_t;
/* Legal values for a_type (entry type). */
^ permalink raw reply [flat|nested] 4+ messages in thread
* [glibc/arm/morello/main] cheri: elf: Adjust Elf64_auxv_t for capabilities
@ 2022-10-26 15:15 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-10-26 15:15 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=eec9eba52840d17f8775c60b4c22558ca8158e8e
commit eec9eba52840d17f8775c60b4c22558ca8158e8e
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Thu Jun 10 13:50:17 2021 +0100
cheri: elf: Adjust Elf64_auxv_t for capabilities
The Elf64_auxv_t needs to be adjusted for the new capability size.
Diff:
---
elf/elf.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/elf/elf.h b/elf/elf.h
index 878dc9bf83..5f0b90f4c4 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1159,6 +1159,14 @@ typedef struct
typedef struct
{
+#if defined __CHERI_PURE_CAPABILITY__
+ uint64_t a_type;
+ uint64_t __pad;
+ union
+ {
+ __uintcap_t a_val;
+ } a_un;
+#else
uint64_t a_type; /* Entry type */
union
{
@@ -1167,6 +1175,7 @@ typedef struct
though, since it does not work when using 32-bit definitions
on 64-bit platforms and vice versa. */
} a_un;
+#endif
} Elf64_auxv_t;
/* Legal values for a_type (entry type). */
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-23 14:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-05 19:34 [glibc/arm/morello/main] cheri: elf: Adjust Elf64_auxv_t for capabilities Szabolcs Nagy
2022-10-26 15:15 Szabolcs Nagy
2022-10-27 13:54 Szabolcs Nagy
2022-11-23 14:44 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).