summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-11 11:58:07 +0000
committerphk <phk@FreeBSD.org>2004-06-11 11:58:07 +0000
commit542eb308da8b51a8f867ac2cbf8e130b7f0a338c (patch)
tree4031b47a1ad4bca241c9456de4f674dc9e162a6c /usr.bin/truss
parenta5bd9177237dc76b61796d156d01db2169b4f192 (diff)
downloadFreeBSD-src-542eb308da8b51a8f867ac2cbf8e130b7f0a338c.zip
FreeBSD-src-542eb308da8b51a8f867ac2cbf8e130b7f0a338c.tar.gz
COMPAT_SUNOS is gone.
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/syscalls.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index ba34257..83ad2aa 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -51,7 +51,6 @@ static const char rcsid[] =
#include <err.h>
#include <fcntl.h>
#include <poll.h>
-#define COMPAT_SUNOS
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
@@ -593,7 +592,7 @@ print_arg(int fd, struct syscall_args *sc, unsigned long *args) {
const char *h;
#define SA_KNOWN_FLAGS \
(SA_ONSTACK | SA_RESTART | SA_RESETHAND | SA_NOCLDSTOP | SA_NODEFER | \
- SA_NOCLDWAIT | SA_SIGINFO | SA_USERTRAMP)
+ SA_NOCLDWAIT | SA_SIGINFO)
if (get_struct(fd, (void *)args[sc->offset], &sa, sizeof(sa)) != -1) {
@@ -605,7 +604,7 @@ print_arg(int fd, struct syscall_args *sc, unsigned long *args) {
h = "SIG_IGN";
else
h = hand;
- asprintf(&tmp, "{ %s 0x%x%s%s%s%s%s%s%s%s ss_t }",
+ asprintf(&tmp, "{ %s 0x%x%s%s%s%s%s%s%s ss_t }",
h,
sa.sa_flags & ~SA_KNOWN_FLAGS,
sa.sa_flags & SA_ONSTACK ? "" : "|ONSTACK",
@@ -614,8 +613,7 @@ print_arg(int fd, struct syscall_args *sc, unsigned long *args) {
sa.sa_flags & SA_NOCLDSTOP ? "" : "|NOCLDSTOP",
sa.sa_flags & SA_NODEFER ? "" : "|NODEFER",
sa.sa_flags & SA_NOCLDWAIT ? "" : "|NOCLDWAIT",
- sa.sa_flags & SA_SIGINFO ? "" : "|SIGINFO",
- sa.sa_flags & SA_USERTRAMP ? "" : "|USERTRAMP");
+ sa.sa_flags & SA_SIGINFO ? "" : "|SIGINFO");
free(hand);
} else
asprintf(&tmp, "0x%lx", args[sc->offset]);
OpenPOWER on IntegriCloud