Paul Mackerras
1c9bb1a01a
[POWERPC] Fix register save area alignment for swapcontext syscall
...
For 32-bit processes, the getcontext side of the swapcontext system
call (i.e. the saving of the context when the first argument is
non-NULL) has to set the ctx->uc_mcontext.uc_regs pointer to the place
where it saves the registers. Which it does, but it doesn't ensure
that the pointer is 16-byte aligned. 16-byte alignment is needed
because the Altivec/VMX registers are saved in there, and they need to
be on a 16-byte boundary.
This fixes it by ensuring the appropriate alignment of the pointer.
This issue was pointed out by Jakub Jelinek.
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-12-20 16:37:49 +11:00
..
2006-10-25 11:54:07 +10:00
2006-10-25 11:54:18 +10:00
2006-06-09 21:24:15 +10:00
2006-10-16 16:31:36 +10:00
2006-09-11 13:32:30 -04:00
2006-06-30 19:25:36 +02:00
2006-11-01 14:52:48 +11:00
2006-09-11 13:32:30 -04:00
2006-06-30 19:25:36 +02:00
2006-10-16 16:32:25 +10:00
2006-12-08 02:45:38 -06:00
2006-08-08 17:07:04 +10:00
2006-12-07 08:39:46 -08:00
2006-12-04 20:38:59 +11:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:41:31 +11:00
2006-06-30 19:25:36 +02:00
2006-08-30 14:45:35 +10:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-12-08 02:43:30 -06:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:41:31 +11:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:42:09 +11:00
2006-06-30 19:25:36 +02:00
2006-10-16 16:31:36 +10:00
2006-10-25 14:20:22 +10:00
2006-10-02 07:57:20 -07:00
2006-12-04 20:39:05 +11:00
2006-12-04 20:39:05 +11:00
2006-12-04 20:38:40 +11:00
2006-12-04 20:39:20 +11:00
2006-12-07 08:39:38 -08:00
2006-06-30 19:25:36 +02:00
2006-08-25 14:56:07 +10:00
2006-08-01 16:19:15 +10:00
2006-06-26 18:57:34 +02:00
2006-08-25 14:56:07 +10:00
2006-08-17 16:41:10 +10:00
2006-12-08 17:21:06 +11:00
2006-10-25 11:42:10 +10:00
2006-10-25 11:42:10 +10:00
2006-09-20 14:06:18 +10:00
2006-12-11 16:35:07 +11:00
2006-12-11 16:35:07 +11:00
2006-12-13 09:05:58 -08:00
2006-12-08 02:23:07 -06:00
2006-12-19 15:35:40 +01:00
2006-08-08 17:08:56 +10:00
2006-12-13 09:05:58 -08:00
2006-12-20 16:37:49 +11:00
2006-07-31 15:55:04 +10:00
2006-11-01 14:52:48 +11:00
2006-12-10 23:15:47 -06:00
2006-12-08 08:28:48 -08:00
2006-10-16 15:53:30 +10:00
2006-12-11 13:49:49 +11:00
2006-12-20 16:37:47 +11:00
2006-12-11 13:49:49 +11:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-09-26 15:24:34 +10:00
2006-12-08 08:28:48 -08:00
2006-12-04 20:39:05 +11:00
2006-07-31 15:55:04 +10:00
2006-06-09 21:21:06 +10:00
2006-12-08 17:10:22 +11:00
2006-12-04 20:40:16 +11:00
2006-12-04 20:40:16 +11:00
2006-10-04 14:52:22 +10:00
2006-05-19 15:02:12 +10:00
2006-12-20 16:37:49 +11:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:42:09 +11:00
2006-10-25 14:20:22 +10:00
2006-09-26 08:49:01 -07:00
2006-12-04 20:41:19 +11:00
2006-10-02 07:57:21 -07:00
2006-12-09 11:39:06 +11:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:39:15 +11:00
2006-12-11 16:35:07 +11:00
2006-07-26 01:27:13 +10:00
2006-06-30 19:25:36 +02:00
2006-12-07 08:39:24 -08:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:38:40 +11:00
2006-12-11 16:35:07 +11:00