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 Jun 7 00:55:16 2009  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedReproducibility: None
Size (loc): NonePlanned Release: None
Effort: 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 Sep 4 23:32:02 2014, comment #4:

Fixed in 8fd228ccd454578fb0367d97d95b90f9073a8d7c.

Justus Winter <teythoon>
Project Member
Thu Apr 29 17:01:33 2010, 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 Jan 12 00:29:39 2010, 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 Jun 7 13:17:25 2009, 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 Jun 7 00:55:16 2009, 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 File(s):

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


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by teythoon (Posted a comment)
  • -unavailable- added by k0ro (Posted a comment)
  • -unavailable- added by zhengda (Updated the item)
  • -unavailable- added by benasselstine (Submitted 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 Sep 4 23:32:02 2014teythoonStatusNone=>Fixed
    Sun Jun 7 13:17:25 2009zhengdaAttached File-=>Added proxy-defpager.diff, #18238

    Back to the top

    Powered by Savane 3.1-cleanup1