+2007-10-02 William Cohen <wcohen@redhat.com>
+
+ * systemtap.syscall/signal.c:
+ * systemtap.syscall/uid16.c: Compilation regardless of defines.
+ * systemtap.syscall/test.tcl: Handle UNSUPP tests correctly.
+
2007-09-28 Wenji Huang <wenji.huang@oracle.com>
* lib/systemtap.exp: New proc get_system_info.
#include <sys/syscall.h>
#ifdef SYS_signal
-
static void
sig_act_handler(int signo)
{
}
+#endif
int main()
{
+#ifdef SYS_signal
sigset_t mask;
struct sigaction sa;
pid_t pid;
syscall(SYS_tgkill,pid,pid,SIGUSR1);
tgkill (NNNN, NNNN, SIGUSR1) = 0
*/
+#endif
return 0;
}
-
-#endif
global dir current_dir
set testname [file tail [string range $filename 0 end-2]]
- set result "UNSUPP $testname"
+ set result "UNSUPP"
if {[catch {exec mktemp -td staptestXXXXX} dir]} {
puts stderr "Failed to create temporary directory: $dir"
/* COVERAGE: getresuid16 setgid16 setresgid16 getresgid16 setreuid16 setregid16 */
/* COVERAGE: setfsuid16 setfsgid16 */
-#ifdef __i386__
-
/* These are all obsolete 16-bit calls that are still there for compatibility. */
#include <sys/types.h>
int main ()
{
+#ifdef __i386__
+
uid_t uid, ruid, euid, suid;
gid_t gid, rgid, egid, sgid;
syscall(__NR_setfsgid, 5005);
// setfsgid (5005) =
+#endif /* __i386__ */
+
return 0;
}
-
-#endif /* __i386__ */