help with strace
Hi, I think that many of us in this mailing list use strace (http://www.liacs.nl/~wichert/strace/) for studying, debugging and I am writing a paper about Strace under Linux version 2.4.22-1.2197.nptl using the strace's man page as my principal reading source. Does anybody heres knows others sources? While I am doing some tests I see that my results are a little bit different from the man page...Example: In the man page's examples there are no 64 after the system call, like in my output. What is this 64? lstat64("/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0 lstat64("/home/teste", 0x92b85ac) = -1 ENOENT (No such file or directory) Best regards, -- Rodrigo Ramos 55 81 3463.1593 55 81 8851.3524 http://www.triforsec.com.br http://www.defenselayer.com Key fingerprint = F381 366D D233 22B4 7E72 A21D DE9B 2FF3 71CF E098 signature.asc Description: This is a digitally signed message part
Re: system calls
Hi Robert, Thank you very much for your help. It really helped me. When a say groups a mean classes like File Structure, Process Related and etc. But I already got what I needed... Once again Thank you very much. Best Regards, Rodrigo Ramos http://www.triforsec.com.br On Sat, 2005-01-29 at 14:47, Robert Love wrote: > On Sat, 2005-01-29 at 10:53 -0300, Rodrigo Ramos wrote: > > > I would like to know how many groups of system calls are there at Linux > > 2.4 and 2.6? Where can I find these informations in the Kernel? > > I don't know what you mean by groups (a nonempty set G with binary > operation * s.t. G is associativity, there exists e in G s.t. e*a=a*e=a, > and there exists i in G s.t. i*b=b*i=e?). > > System calls are implemented per-architecture. You can see the list at > the bottom of arch/i386/kernel/entry.S. There is about 290. > > System calls are prefixed by "sys_". Thus, read(2) is implemented in > the kernel as sys_read(). It, for example, can be found in > fs/read_write.c. > > Hope this helps. > > Robert Love > > > > signature.asc Description: This is a digitally signed message part
system calls
Hi, I would like to know how many groups of system calls are there at Linux 2.4 and 2.6? Where can I find these informations in the Kernel? Best Regards, Rodrigo Ramos www.triforsec.com.br - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/