Newbies first add a test.
Dmitry V. Levin
ldv at altlinux.org
Wed Nov 16 19:04:23 UTC 2016
On Thu, Oct 27, 2016 at 01:03:00PM +0800, ChenJingPiao wrote:
> Hi, I am a newbies, this is my first test add in strace,
> if something wrong, please tell me. And is it necessary
> to implement user manage related syscalls on strace -e?
> such as: getuid, setuid, getgid, setgid, getegid, setegid,
> geteuid, seteuid, setregid, setreuid, getresgid, setresgid,
> getresuid, setresuid, setfsgid, setfsuid, getgroups, setgroups.
Most of these syscalls are already covered by some tests.
For a general idea what's already covered and what's not, see e.g.
https://codecov.io/gh/strace/strace
wrt uid/gid related syscalls, it's
https://codecov.io/gh/strace/strace/src/master/uid.c
> I want to do something make me familiar with strace codebase.
> I will appreciate if you can give me a hand.
Well, strace is a 25 year old project, so most of low hanging fruits has
already been picked. You can have a look at those parts of code that are
not fully covered by tests yet, namely, parsers fcntl, ioctl, and prctl
syscalls.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20161116/9bcd21f9/attachment.bin>
More information about the Strace-devel
mailing list