public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/morello/main] cheri: elf: Fix tst-auxv for Morello
@ 2022-11-23 14:50 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-11-23 14:50 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a05a3def727285eb498f329b16baa3f52d26df79
commit a05a3def727285eb498f329b16baa3f52d26df79
Author: Carlos Eduardo Seo <carlos.seo@arm.com>
Date: Thu Jun 23 15:27:55 2022 -0300
cheri: elf: Fix tst-auxv for Morello
Diff:
---
elf/tst-auxv.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/elf/tst-auxv.c b/elf/tst-auxv.c
index 602875b794..2e3cb6a54f 100644
--- a/elf/tst-auxv.c
+++ b/elf/tst-auxv.c
@@ -27,7 +27,11 @@ static int
do_test (int argc, char *argv[])
{
errno = 0;
+#ifndef __CHERI_PURE_CAPABILITY__
const char *execfn = (const char *) getauxval (AT_NULL);
+#else
+ const char *execfn = (const char *) getauxptr (AT_NULL);
+#endif
if (errno != ENOENT)
{
@@ -43,7 +47,11 @@ do_test (int argc, char *argv[])
}
errno = 0;
+#ifndef __CHERI_PURE_CAPABILITY__
execfn = (const char *) getauxval (AT_EXECFN);
+#else
+ execfn = (const char *) getauxptr (AT_EXECFN);
+#endif
if (execfn == NULL)
{
^ permalink raw reply [flat|nested] 4+ messages in thread
* [glibc/arm/morello/main] cheri: elf: Fix tst-auxv for Morello
@ 2022-10-27 14:00 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-10-27 14:00 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a0567ce645bd539b8a362d4dea1ce8e71dba2942
commit a0567ce645bd539b8a362d4dea1ce8e71dba2942
Author: Carlos Eduardo Seo <carlos.seo@arm.com>
Date: Thu Jun 23 15:27:55 2022 -0300
cheri: elf: Fix tst-auxv for Morello
Diff:
---
elf/tst-auxv.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/elf/tst-auxv.c b/elf/tst-auxv.c
index 602875b794..2e3cb6a54f 100644
--- a/elf/tst-auxv.c
+++ b/elf/tst-auxv.c
@@ -27,7 +27,11 @@ static int
do_test (int argc, char *argv[])
{
errno = 0;
+#ifndef __CHERI_PURE_CAPABILITY__
const char *execfn = (const char *) getauxval (AT_NULL);
+#else
+ const char *execfn = (const char *) getauxptr (AT_NULL);
+#endif
if (errno != ENOENT)
{
@@ -43,7 +47,11 @@ do_test (int argc, char *argv[])
}
errno = 0;
+#ifndef __CHERI_PURE_CAPABILITY__
execfn = (const char *) getauxval (AT_EXECFN);
+#else
+ execfn = (const char *) getauxptr (AT_EXECFN);
+#endif
if (execfn == NULL)
{
^ permalink raw reply [flat|nested] 4+ messages in thread
* [glibc/arm/morello/main] cheri: elf: Fix tst-auxv for Morello
@ 2022-10-26 15:21 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-10-26 15:21 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=25309006c00fbac6a589a47b399cdb07fba6852c
commit 25309006c00fbac6a589a47b399cdb07fba6852c
Author: Carlos Eduardo Seo <carlos.seo@arm.com>
Date: Thu Jun 23 15:27:55 2022 -0300
cheri: elf: Fix tst-auxv for Morello
Diff:
---
elf/tst-auxv.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/elf/tst-auxv.c b/elf/tst-auxv.c
index 602875b794..2e3cb6a54f 100644
--- a/elf/tst-auxv.c
+++ b/elf/tst-auxv.c
@@ -27,7 +27,11 @@ static int
do_test (int argc, char *argv[])
{
errno = 0;
+#ifndef __CHERI_PURE_CAPABILITY__
const char *execfn = (const char *) getauxval (AT_NULL);
+#else
+ const char *execfn = (const char *) getauxptr (AT_NULL);
+#endif
if (errno != ENOENT)
{
@@ -43,7 +47,11 @@ do_test (int argc, char *argv[])
}
errno = 0;
+#ifndef __CHERI_PURE_CAPABILITY__
execfn = (const char *) getauxval (AT_EXECFN);
+#else
+ execfn = (const char *) getauxptr (AT_EXECFN);
+#endif
if (execfn == NULL)
{
^ permalink raw reply [flat|nested] 4+ messages in thread
* [glibc/arm/morello/main] cheri: elf: Fix tst-auxv for Morello
@ 2022-08-05 19:37 Szabolcs Nagy
0 siblings, 0 replies; 4+ messages 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=6cca02f73288961d2ecb325efbc6d91ad3ae9045
commit 6cca02f73288961d2ecb325efbc6d91ad3ae9045
Author: Carlos Eduardo Seo <carlos.seo@arm.com>
Date: Thu Jun 23 15:27:55 2022 -0300
cheri: elf: Fix tst-auxv for Morello
Diff:
---
elf/tst-auxv.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/elf/tst-auxv.c b/elf/tst-auxv.c
index 602875b794..2e3cb6a54f 100644
--- a/elf/tst-auxv.c
+++ b/elf/tst-auxv.c
@@ -27,7 +27,11 @@ static int
do_test (int argc, char *argv[])
{
errno = 0;
+#ifndef __CHERI_PURE_CAPABILITY__
const char *execfn = (const char *) getauxval (AT_NULL);
+#else
+ const char *execfn = (const char *) getauxptr (AT_NULL);
+#endif
if (errno != ENOENT)
{
@@ -43,7 +47,11 @@ do_test (int argc, char *argv[])
}
errno = 0;
+#ifndef __CHERI_PURE_CAPABILITY__
execfn = (const char *) getauxval (AT_EXECFN);
+#else
+ execfn = (const char *) getauxptr (AT_EXECFN);
+#endif
if (execfn == NULL)
{
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-23 14:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-23 14:50 [glibc/arm/morello/main] cheri: elf: Fix tst-auxv for Morello Szabolcs Nagy
-- strict thread matches above, loose matches on Subject: below --
2022-10-27 14:00 Szabolcs Nagy
2022-10-26 15:21 Szabolcs Nagy
2022-08-05 19:37 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).