Improved getrusage
Quoted 8 lines · Claudio Scordino
Hi all!
A couple of months ago we discussed the possibility of improving the getrusage syscall to read usage information about tasks belonging to the same owner (not just about current and children).
After an extensive discussion on the mailing list, some of us agreed about the following patch. Some others, instead, said that it is too permissive.
How about using security_ptrace? After all, if you can ptrace it, you can make it call getrusage... But add-hoc addition of "it is the same owner" code sounds bad for LSMs.
--Andy
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors