Discussion:
[tomoyo-users-en 506] re-re-re-About syscalls
florian.lissandres
2012-07-30 15:56:37 UTC
Permalink
Thank you, my table is now complete!

But to go further, I wonder where I can find the link between the
permission and the syscall...
For exemple "file getattr" : stat(), or "file execute" : execve(). I have
searched in the code but do not find any references.
If I just know where to search (lsm module, tomoyo code...) it would be
helpful.

I hope it's my last request, sorry for inconvenience.

Florian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sourceforge.jp/mailman/archives/tomoyo-users-en/attachments/20120730/1073125f/attachment.htm
Tetsuo Handa
2012-07-31 12:19:18 UTC
Permalink
Post by florian.lissandres
But to go further, I wonder where I can find the link between the
permission and the syscall...
For exemple "file getattr" : stat(), or "file execute" : execve(). I have
searched in the code but do not find any references.
Sorry, there is no documentation that describes the mapping
Post by florian.lissandres
If I just know where to search (lsm module, tomoyo code...) it would be
helpful.
but the kernel testing programs for TOMOYO
( http://sourceforge.jp/projects/tomoyo/svn/view/trunk/2.5.x/tomoyo-tools/kernel_test/tomoyo_new_test.c?view=markup&revision=HEAD&root=tomoyo
and other programs in the same directory) would be the nearest.

Regards.

Loading...