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=3D214885

--- 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|pi=
pe2|pread|symlinkat)' syscalls.c
        { .name =3D "fchmod", .ret_type =3D 1, .nargs =3D 2,
        { .name =3D "fchmodat", .ret_type =3D 1, .nargs =3D 4,
        { .name =3D "fstatat", .ret_type =3D 1, .nargs =3D 4,
        { .name =3D "lchmod", .ret_type =3D 1, .nargs =3D 2,
        { .name =3D "mkdirat", .ret_type =3D 1, .nargs =3D 3,
        { .name =3D "openat", .ret_type =3D 1, .nargs =3D 4,
        { .name =3D "pipe2", .ret_type =3D 1, .nargs =3D 2,
        { .name =3D "symlinkat", .ret_type =3D 1, .nargs =3D 3,
        { .name =3D "unlinkat", .ret_type =3D 1, .nargs =3D 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 descripti=
ons
just to limit the number of arguments printed.

--=20
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>