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

Attachment: pgptKp1phWZzF.pgp
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to