public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/9958] New: Provide a way for C tapset functions to assert guru mode
@ 2009-03-18  1:09 jistone at redhat dot com
  2009-03-19  7:40 ` [Bug translator/9958] " fche at redhat dot com
  2009-03-19  9:34 ` jistone at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2009-03-18  1:09 UTC (permalink / raw)
  To: systemtap

Tapset functions written in the script language automatically get guru-mode
checking for $target/@cast writes, but embedded-C functions have no way to
indicate that they should be restricted to guru-mode.

This could be done with a simple "/* guru */" string match, the same way we use
"/* pure */" already...

-- 
           Summary: Provide a way for C tapset functions to assert guru mode
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jistone at redhat dot com


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/9958] Provide a way for C tapset functions to assert guru mode
  2009-03-18  1:09 [Bug translator/9958] New: Provide a way for C tapset functions to assert guru mode jistone at redhat dot com
@ 2009-03-19  7:40 ` fche at redhat dot com
  2009-03-19  9:34 ` jistone at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2009-03-19  7:40 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2009-03-19 02:43 -------
This will start making more sense once we have unprivileged user support.
Right now, there is nothing stopping one from overriding such decorations
(with -g, or by copying the tapset function body into a new undecorated
copy).


-- 


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/9958] Provide a way for C tapset functions to assert guru mode
  2009-03-18  1:09 [Bug translator/9958] New: Provide a way for C tapset functions to assert guru mode jistone at redhat dot com
  2009-03-19  7:40 ` [Bug translator/9958] " fche at redhat dot com
@ 2009-03-19  9:34 ` jistone at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2009-03-19  9:34 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From jistone at redhat dot com  2009-03-19 03:03 -------
(In reply to comment #1)
> Right now, there is nothing stopping one from overriding such decorations

True, it has no security use yet, but it may still help prevent _accidentally_
damaging yourself...

-- 


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-19  3:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-18  1:09 [Bug translator/9958] New: Provide a way for C tapset functions to assert guru mode jistone at redhat dot com
2009-03-19  7:40 ` [Bug translator/9958] " fche at redhat dot com
2009-03-19  9:34 ` jistone at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).