1 /* Test for lwp_name syscall which is available on newer Solaris. */
5 __attribute__((noinline
))
6 static void sys_lwp_name(void)
8 GO(SYS_lwp_name
, "(lwp_setname) 3s 1m");
9 SY(SYS_lwp_name
, x0
+ 0, x0
, x0
+ 1); FAIL
;
12 __attribute__((noinline
))
13 static void sys_lwp_name2(void)
15 GO(SYS_lwp_name
, "(lwp_getname) 4s 1m");
16 SY(SYS_lwp_name
, x0
+ 1, x0
, x0
+ 1, x0
+ 2); FAIL
;
21 /* Uninitialised, but we know px[0] is 0x0. */
22 long *px
= malloc(sizeof(long));