Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2017 18:03:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 214885] [patch] add missing system calls to truss
Message-ID:  <bug-214885-8-95O4307js1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214885-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214885-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

--- Comment #2 from John Baldwin <jhb@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214885-8-95O4307js1>