[Bug runtime/14057] ERROR: Your privilege credentials (stapsys) are insufficient to run this module (stapdev required).
mjw at redhat dot com
sourceware-bugzilla@sourceware.org
Thu May 3 19:07:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=14057
--- Comment #4 from Mark Wielaard <mjw at redhat dot com> 2012-05-03 19:06:31 UTC ---
I am slightly lost in how this code is supposed to work.
It looks like we are sending random garbage instead of the real permissions to
the module. In init_staprun we have:
privilege_t user_credentials;
and call insert_stap_module(& user_credentials) to initialize the credentials
so we can then call send_privilege_credentials(user_credentials);
insert_stap_module calls insert_module(modpath, special_options,
modoptions,
assert_stap_module_permissions,
user_credentials);
Where assert_stap_module_permissions is the callback function to actually set
the credentials. But assert_stap_module_permissions () doesn't set
user_credentials when getuid() == 0.
Am I missing something?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Systemtap
mailing list