This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/15114] [PATCH] Propagate uid and gid from nfsd module as well
- From: "jiri.horky at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 07 Feb 2013 20:31:34 +0000
- Subject: [Bug tapsets/15114] [PATCH] Propagate uid and gid from nfsd module as well
- Auto-submitted: auto-generated
- References: <bug-15114-6586@http.sourceware.org/bugzilla/>
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.