From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13949 invoked by alias); 7 Feb 2013 20:31:57 -0000 Received: (qmail 13774 invoked by uid 48); 7 Feb 2013 20:31:35 -0000 From: "jiri.horky at gmail dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/15114] [PATCH] Propagate uid and gid from nfsd module as well Date: Thu, 07 Feb 2013 20:31:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jiri.horky at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2013-q1/txt/msg00111.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15114 --- Comment #3 from Jiri Horky 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.