[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #26476] rpctrace cannot handle host_processor_sets()

From: anonymous
Subject: [bug #26476] rpctrace cannot handle host_processor_sets()
Date: Thu, 07 May 2009 00:00:23 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv: Gecko/2009032608 Firefox/3.0.8


                 Summary: rpctrace cannot handle host_processor_sets()
                 Project: The GNU Hurd
            Submitted by: None
            Submitted on: Thu 07 May 2009 12:00:07 AM UTC
                Category: Hurd
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Reproducibility: Every Time
              Size (loc): None
         Planned Release: None
                  Effort: 0.00
Wiki-like text discussion box: 



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
How can we handle it? Is there something similar like task_set_special_port()
or thread_set_special_port() to set the host port?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]