Bladeren bron

aarch64/sys: update ucontext.h

It fixes tst-cancel1 and friends.

Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Vladimir Murzin 4 jaren geleden
bovenliggende
commit
b5fc5f8459
1 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  1. 3 2
      libc/sysdeps/linux/aarch64/sys/ucontext.h

+ 3 - 2
libc/sysdeps/linux/aarch64/sys/ucontext.h

@@ -45,12 +45,13 @@ typedef elf_fpregset_t	fpregset_t;
 typedef struct sigcontext mcontext_t;
 
 /* Userlevel context.  */
-typedef struct ucontext
+typedef struct ucontext_t
   {
     unsigned long uc_flags;
-    struct ucontext *uc_link;
+    struct ucontext_t *uc_link;
     stack_t uc_stack;
     __sigset_t uc_sigmask;
+    unsigned char __reserved[128];
     mcontext_t uc_mcontext;
   } ucontext_t;