1 /* Scalar test for commands A_GETSTAT and A_SETSTAT for auditon(2) subcode
2 of the auditsys() syscall. Available on Solaris 11.3 and illumos,
3 removed in Solaris 11.4. */
9 __attribute__((noinline
))
10 static void sys_auditsys(void)
12 GO(SYS_auditsys
, "(BSM_AUDITCTL,A_GETSTAT) 3s 1m");
13 SY(SYS_auditsys
, x0
+ BSM_AUDITCTL
, x0
+ A_GETSTAT
, x0
); FAIL
;
16 __attribute__((noinline
))
17 static void sys_auditsys2(void)
19 GO(SYS_auditsys
, "(BSM_AUDITCTL,A_SETSTAT) 3s 1m");
20 SY(SYS_auditsys
, x0
+ BSM_AUDITCTL
, x0
+ A_SETSTAT
, x0
); FAIL
;
25 /* Uninitialised, but we know px[0] is 0x0. */
26 long *px
= malloc(sizeof(long));
29 /* SYS_auditsys 186 */