1 /* Scalar test for new zone syscall subcodes available on Solaris 11. */
7 __attribute__((noinline
))
8 static void sys_zone(void)
10 GO(SYS_zone
, "(ZONE_LIST_DEFUNCT) 3s 1m");
11 SY(SYS_zone
, x0
+ ZONE_LIST_DEFUNCT
, x0
+ 1, x0
+ 2); FAIL
;
14 __attribute__((noinline
))
15 static void sys_zone2(void)
17 uint_t numzones
= x0
+ 1;
19 GO(SYS_zone
, "(ZONE_LIST_DEFUNCT) 2s 1m");
20 SY(SYS_zone
, x0
+ ZONE_LIST_DEFUNCT
, x0
+ 1, &numzones
); SUCC
;
23 __attribute__((noinline
))
24 static void sys_zone3(void)
26 GO(SYS_zone
, "(ZONE_GETATTR_DEFUNCT) 5s 2m");
27 SY(SYS_zone
, x0
+ ZONE_GETATTR_DEFUNCT
, x0
+ 1, x0
, x0
+ 2, x0
+ 3);
33 /* Uninitialised, but we know px[0] is 0x0. */
34 long *px
= malloc(sizeof(long));