This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]