bugThe GNU Hurd - Bugs: bug #26751, creating memory objects through...


bug #26751: creating memory objects through the proxy defpager can fail

Submitted by:  Ben Asselstine <benasselstine>
Submitted on:  Sun 07 Jun 2009 12:55:16 AM UTC
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Reproducibility:  None
Size (loc):  None Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


Thu 04 Sep 2014 11:32:02 PM UTC, comment #4: 

Fixed in 8fd228ccd454578fb0367d97d95b90f9073a8d7c.

Justus Winter <teythoon>
Project Member
Thu 29 Apr 2010 05:01:33 PM UTC, comment #3: 

I think only GNU Mach should make use of the default pager. "tmpfs" should create and mantain its own pagers, just like other translators do.

Sergio López <k0ro>
Project Member
Tue 12 Jan 2010 12:29:39 AM UTC, comment #2: 

Mmm, indeed, there's an issue: MACH_MSG_TYPE_MAKE_SEND means the msg
sender has a receive right, and makes a send right out of it, but here
the defpager proxy, by calling default_pager_object_create, only gets
a send right, so can't use MACH_MSG_TYPE_MAKE_SEND and could in that
to just pass the send right.

I'm wondering however: isn't that a common issue with proxies?  Isn't
there some better way?

Sun 07 Jun 2009 01:17:25 PM UTC, comment #1: 

I had a problem the first time I used proxy defpager.
I don't know if we have the same problem.
The attached patch might help. At least it solves my problem.

(file #18238)

Zheng Da <zhengda>
Project Member
Sun 07 Jun 2009 12:55:16 AM UTC, original submission:  

When I create a sample program that uses the default_pager_object interface to create a new memory object it fails.  I'm running the program as root.

1. open the /servers/default-pager file
(this is running /hurd/proxy-defpager)

2. call default_pager_object_create, and try to make an object of 4k.

The call fails with a server died message.

This mail message shows a similar error:

Fixing this bug would help tmpfs run correctly.

Ben Asselstine <benasselstine>


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

Attach Files:

Attached Files
file #18238:  proxy-defpager.diff added by zhengda (2KiB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by teythoon (Posted a comment)
  • -email is unavailable- added by k0ro (Posted a comment)
  • -email is unavailable- added by zhengda (Updated the item)
  • -email is unavailable- added by benasselstine (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-09-04 teythoon StatusNone => Fixed
        Open/ClosedOpen => Closed
    2009-06-07 zhengda Attached File- => Added proxy-defpager.diff, #18238

    Back to the top

    Powered by Savane 3.9