Sourceware Bugzilla – Attachment 11441 Details for
Bug 23960
[2.28 Regression]: New getdents{64} implementation breaks qemu-user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
file_23960.txt (text/plain), 1.70 KB, created by
Jessica Clarke
on 2018-12-08 14:32:46 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Jessica Clarke
Created:
2018-12-08 14:32:46 UTC
Size:
1.70 KB
patch
obsolete
>From 4a3213d0169370930ec338b6221ea1fe2c9d24d2 Mon Sep 17 00:00:00 2001 >From: James Clarke <jrtc27@jrtc27.com> >Date: Sat, 8 Dec 2018 14:29:31 +0000 >Subject: [PATCH] m68k: Fix kernel_sigaction definition >To: libc-alpha@sourceware.org > >The commit b4a5d26d8835d972995f0a0a2f805a8845bafa0b >"linux: Consolidate sigaction implementation" changed the m68k >kernel_sigaction definition to have the field order of the old API which >differ from the current API. > > * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Use default > Linux version as base implementation. >--- > .../unix/sysv/linux/m68k/kernel_sigaction.h | 22 ++++--------------- > 1 file changed, 4 insertions(+), 18 deletions(-) > >diff --git a/sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h b/sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h >index 54972feb13..94f3e9b082 100644 >--- a/sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h >+++ b/sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h >@@ -1,22 +1,8 @@ >-#ifndef _KERNEL_SIGACTION_H >-# define _KERNEL_SIGACTION_H >- >-#include <signal.h> >- >+/* m68k uses the generic Linux UAPI but defines SA_RESTORER. */ > #define SA_RESTORER 0x04000000 >+#include <sysdeps/unix/sysv/linux/kernel_sigaction.h> > >-/* This is the sigaction structure from the Linux 3.2 kernel. */ >-struct kernel_sigaction >-{ >- __sighandler_t k_sa_handler; >- sigset_t sa_mask; >- unsigned long sa_flags; >- void (*sa_restorer) (void); >-}; >- >-#define SET_SA_RESTORER(kact, act) \ >+#define SET_SA_RESTORER(kact, act) \ > (kact)->sa_restorer = (act)->sa_restorer >-#define RESET_SA_RESTORER(act, kact) \ >+#define RESET_SA_RESTORER(act, kact) \ > (act)->sa_restorer = (kact)->sa_restorer >- >-#endif >-- >2.19.2
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 23960
: 11441 |
11808
|
12210
|
12211