[Bug tapsets/15114] [PATCH] Propagate uid and gid from nfsd module as well

jiri.horky at gmail dot com sourceware-bugzilla@sourceware.org
Thu Feb 7 20:31:00 GMT 2013


http://sourceware.org/bugzilla/show_bug.cgi?id=15114

--- Comment #3 from Jiri Horky <jiri.horky at gmail dot com> 2013-02-07 20:31:34 UTC ---
Hi,

I am sorry, this is my mistake, my hands were faster that my thinking this time
:) I forgot that we moved the uid/gid logic from standard tapset to our stap
script. We have something like:

probe module("nfsd").function("nfsd_vfs_write").return
{
        uid = $rqstp->rq_cred->cr_uid
...

(and the same for nfsd_vfs_read). 

Please consider this as a request and not as a complete patch then. But still,
other people could probably benefit from having uid/gid handy in nfsd functions
by the standard tapsets. AFAIK, systemtap is the only useful tool when it comes
to accounting per user per file activity on nfs server.

Jiri Horky

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Systemtap mailing list