* [Bug tapsets/12082] New: task_gid and task_egid fail on call to get_task_cred()
@ 2010-10-02 1:52 jistone at redhat dot com
2010-10-02 7:04 ` [Bug tapsets/12082] " fche at redhat dot com
0 siblings, 1 reply; 3+ messages in thread
From: jistone at redhat dot com @ 2010-10-02 1:52 UTC (permalink / raw)
To: systemtap
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --]
On 2.6.34.7-56.fc13.x86_64, testsuite/buildok/task_embedded.stp fails with:
/tmp/stap0Ft9bI/stap_7fc5d91ae7c5d78cf2519dbbd5080888_9774.c: In function
function_task_egid:
/tmp/stap0Ft9bI/stap_7fc5d91ae7c5d78cf2519dbbd5080888_9774.c:986: error:
assignment discards qualifiers from pointer target type
/tmp/stap0Ft9bI/stap_7fc5d91ae7c5d78cf2519dbbd5080888_9774.c: In function
function_task_gid:
/tmp/stap0Ft9bI/stap_7fc5d91ae7c5d78cf2519dbbd5080888_9774.c:1109: error:
assignment discards qualifiers from pointer target type
Kernel commit de09a977 changes get_task_cred from a macro to a function
returning "const struct cred*". I tried changing our cred pointer to const,
which solves this warning, but then I get:
WARNING: "get_task_cred"
[/tmp/stapautDvM/stap_63fa3ee7bc5df6a28dccba28240d17b5_9786.ko] undefined!
Error inserting module
'/tmp/stapautDvM/stap_63fa3ee7bc5df6a28dccba28240d17b5_9786.ko': Unknown symbol
in module
[dmesg] stap_63fa3ee7bc5df6a28dccba28240d17b5_9786: Unknown symbol get_task_cred
There is no EXPORT_SYMBOL in the kernel for get_task_cred()...
--
Summary: task_gid and task_egid fail on call to get_task_cred()
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jistone at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12082
------- 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 tapsets/12082] task_gid and task_egid fail on call to get_task_cred()
2010-10-02 1:52 [Bug tapsets/12082] New: task_gid and task_egid fail on call to get_task_cred() jistone at redhat dot com
@ 2010-10-02 7:04 ` fche at redhat dot com
0 siblings, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2010-10-02 7:04 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2010-10-02 07:03 -------
__task_cred instead perhaps?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=12082
------- 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 tapsets/12082] task_gid and task_egid fail on call to get_task_cred()
[not found] <bug-12082-1110@http.sourceware.org/bugzilla/>
@ 2010-11-11 2:54 ` jistone at redhat dot com
0 siblings, 0 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2010-11-11 2:54 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=12082
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Josh Stone <jistone at redhat dot com> 2010-11-11 02:54:22 UTC ---
David fixed this in commit 47606e7e.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-11 2:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-02 1:52 [Bug tapsets/12082] New: task_gid and task_egid fail on call to get_task_cred() jistone at redhat dot com
2010-10-02 7:04 ` [Bug tapsets/12082] " fche at redhat dot com
[not found] <bug-12082-1110@http.sourceware.org/bugzilla/>
2010-11-11 2:54 ` 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).