Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 865340 Details for
Bug 910195
sys-apps/sandbox-2.35 fails using Clang as compiler with incompatible integer to pointer conversion
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libsandbox/trace: cast NT_ARM_SYSTEM_CALL to void *
0001-libsandbox-trace-cast-NT_ARM_SYSTEM_CALL-to-void.patch (text/plain), 1.08 KB, created by
Mike Gilbert
on 2023-07-10 15:15:01 UTC
(
hide
)
Description:
libsandbox/trace: cast NT_ARM_SYSTEM_CALL to void *
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2023-07-10 15:15:01 UTC
Size:
1.08 KB
patch
obsolete
>From fe83d398304ca4414b1cc54f4ce77ba75a2bf983 Mon Sep 17 00:00:00 2001 >From: Mike Gilbert <floppym@gentoo.org> >Date: Mon, 10 Jul 2023 11:11:41 -0400 >Subject: [PATCH] libsandbox/trace: cast NT_ARM_SYSTEM_CALL to void * > >Bug: https://bugs.gentoo.org/910195 >Signed-off-by: Mike Gilbert <floppym@gentoo.org> >--- > libsandbox/trace/linux/aarch64.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/libsandbox/trace/linux/aarch64.c b/libsandbox/trace/linux/aarch64.c >index 8f32912..1863f2d 100644 >--- a/libsandbox/trace/linux/aarch64.c >+++ b/libsandbox/trace/linux/aarch64.c >@@ -36,7 +36,7 @@ static int trace_get_sysnum(void *vregs) > .iov_base = &nr, > .iov_len = sizeof(nr), > }; >- do_ptrace(PTRACE_GETREGSET, NT_ARM_SYSTEM_CALL, &iov_nr); >+ do_ptrace(PTRACE_GETREGSET, (void *)NT_ARM_SYSTEM_CALL, &iov_nr); > return nr; > } > >@@ -46,5 +46,5 @@ static void trace_set_sysnum(void *vregs, int nr) > .iov_base = &nr, > .iov_len = sizeof(nr), > }; >- do_ptrace(PTRACE_SETREGSET, NT_ARM_SYSTEM_CALL, &iov_nr); >+ do_ptrace(PTRACE_SETREGSET, (void *)NT_ARM_SYSTEM_CALL, &iov_nr); > } >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 910195
:
865337
|
865340