[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-list
Subject:    Re: Query about "opcontrol --dump" for non-root users
From:       Maynard Johnson <maynardj () us ! ibm ! com>
Date:       2009-05-27 21:17:08
Message-ID: 4A1DADD4.5030000 () us ! ibm ! com
[Download RAW message or body]

Maynard Johnson wrote:
> Suthikulpanit, Suravee wrote:
> > In the opcontrol at line 1596 of the current trunk, there is a command 
> > 
> > " rm -f "$SESSION_DIR/complete_dump" 
> > 
> > which has been added since OProfile-0.9.4. I don't this command is
> > necessary. This prevent the non-root users to run "opcontrol --dump".
> See the Jan 25, 2008 posting from Bob Nelson, subject line "[PATCH] Fix potential \
> loop in opcontrol", for details.  The rm of the complete_dump file was intentional \
> -- but not the side effect of preventing non-root users from doing 'dump'.  :-/

The only fix I can think of is to create a subdir under <session-dir> that gives 
write access to everyone and place the complete_dump file there.

-Maynard
> 
> -Maynard
> > Suravee
> > 
> > -----Original Message-----
> > From: Maynard Johnson [mailto:maynardj@us.ibm.com] 
> > Sent: Tuesday, May 26, 2009 5:01 PM
> > To: Suthikulpanit, Suravee
> > Cc: oprofile-list@lists.sf.net
> > Subject: Re: Query about "opcontrol --dump" for non-root users
> > 
> > Suravee Suthikulpanit wrote:
> > > Hi,
> > > 
> > > I am wondering if the non-root users are supposed to be able to call
> > > "opcontrol --dump" in the original design?
> > Yes, non-root users are supposed to be able to do this.  Looks like this
> > broke back in Feb 2008.  Do you have a suggested fix?
> > 
> > -Maynard
> > > Thank you,
> > > 
> > > Suravee
> > > 
> > > 
> > > 
> > > 
> > ------------------------------------------------------------------------
> > ------
> > > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
> > > is a gathering of tech-side developers & brand creativity
> > professionals. Meet
> > > the minds behind Google Creative Lab, Visual Complexity, Processing, &
> > > iPhoneDevCamp as they present alongside digital heavyweights like
> > Barbarian 
> > > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
> > > _______________________________________________
> > > oprofile-list mailing list
> > > oprofile-list@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/oprofile-list
> > 
> > 
> 
> 
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
> _______________________________________________
> oprofile-list mailing list
> oprofile-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oprofile-list


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
oprofile-list mailing list
oprofile-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic