[Bug 214885] [patch] add missing system calls to truss

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 12 18:03:01 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214885

--- Comment #2 from John Baldwin <jhb at FreeBSD.org> ---
What version is this against?  Several of the new system calls are already
handled in truss in stable/11:

> egrep '(openat|mkdirat|unlinkat|[lf]chmod|getdirentries|fstatat|pwrite|pipe2|pread|symlinkat)' syscalls.c
        { .name = "fchmod", .ret_type = 1, .nargs = 2,
        { .name = "fchmodat", .ret_type = 1, .nargs = 4,
        { .name = "fstatat", .ret_type = 1, .nargs = 4,
        { .name = "lchmod", .ret_type = 1, .nargs = 2,
        { .name = "mkdirat", .ret_type = 1, .nargs = 3,
        { .name = "openat", .ret_type = 1, .nargs = 4,
        { .name = "pipe2", .ret_type = 1, .nargs = 2,
        { .name = "symlinkat", .ret_type = 1, .nargs = 3,
        { .name = "unlinkat", .ret_type = 1, .nargs = 3,
                print_mask_arg(sysdecode_pipe2_flags, fp, args[sc->offset]);

In addition, due to the recent ptrace changes to return an accurate system call
argument count, system calls that accept no arguments or only plain integer
arguments (issetugid, dup, dup2, kqueue) should not need explicit descriptions
just to limit the number of arguments printed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list