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

 
 

bug #26476: rpctrace cannot trace messages sent to the host port

Submitted by:  None
Submitted on:  Thu 07 May 2009 12:00:07 AM UTC  
 
Category: HurdSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: ConfirmedPrivacy: 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:
   

Attached Files
file #36320:  rpctrace-test.c added by teythoon (574B - text/x-csrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by teythoon (Updated the item)
  •  

    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):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 11 Feb 2016 08:19:33 PM UTCteythoonAttached File-=>Added rpctrace-test.c, #36320
      StatusNone=>Confirmed
      Summaryrpctrace cannot handle host_processor_sets()=>rpctrace cannot trace messages sent to the host port

    Back to the top


    Powered by Savane 3.1-cleanup