bugThe GNU Hurd - Bugs: bug #26476, rpctrace cannot handle...

 
 

bug #26476: rpctrace cannot handle host_processor_sets()

Submitted by:  None
Submitted on:  Thu 07 May 2009 12:00:07 AM UTC  
 
Category: HurdSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Originator Email: -unavailable-Open/Closed: Open
Reproducibility: Every TimeSize (loc): None
Planned Release: NoneEffort: 0.00
Wiki-like text discussion box: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 07 May 2009 12:00:07 AM UTC, original submission:

rpctrace cannot handle this following piece of code:

error_t err;
mach_port_t psetpriv;
mach_port_t priv_host;
mach_port_t *psets;
size_t npsets;

get_privileged_ports (&priv_host, NULL);
err = host_processor_sets (mach_host_self (), &psets, &npsets);
if (err)
error (1, err, "host_processor_sets");

err = host_processor_set_priv (priv_host, psets[0], &psetpriv);
if (err)
error (1, err, "host_processor_set_priv");

Since rpctrace cannot see host_processor_sets(), it fails to handle host_processor_set_priv().
How can we handle it? Is there something similar like task_set_special_port() or thread_set_special_port() to set the host port?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup