Add missing zstd.h to coregrind Makefile.am noinst_HEADERS
[valgrind.git] / memcheck / tests / amd64-solaris / scalar.c
blobbcd3139ac1c5ed26885aef0ed657f3d0e3f624d4
1 /* Basic syscall test for Solaris/amd64 specific syscalls. */
3 #include "scalar.h"
5 #include <sys/lwp.h>
7 int main(void)
9 /* Uninitialised, but we know px[0] is 0x0. */
10 long *px = malloc(sizeof(long));
11 x0 = px[0];
13 /* SYS_lwp_private 166 */
14 GO(SYS_lwp_private, "3s 1m");
15 SY(SYS_lwp_private, x0 + _LWP_GETPRIVATE, x0 + _LWP_FSBASE, x0); FAIL;
17 return 0;