diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2021-05-19 18:14:37 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-10 22:04:10 +0200 |
commit | ff0487ddf0ba1f98daef8265eb3a50b1570b8f41 (patch) | |
tree | b21d88054ee81b2b65b33c6eab79b5f926019cfb /libpager/pager.h | |
parent | 033397a36ab5bf40d7184791e036fae781355a21 (diff) | |
download | hurd-ff0487ddf0ba1f98daef8265eb3a50b1570b8f41.tar.gz hurd-ff0487ddf0ba1f98daef8265eb3a50b1570b8f41.tar.bz2 hurd-ff0487ddf0ba1f98daef8265eb3a50b1570b8f41.zip |
libpager: Add pager_get_ro_port ()
A pager will now maintain a port to a read-only memory object proxy
for itself, and let the users access it with pager_get_ro_port ().
Diffstat (limited to 'libpager/pager.h')
-rw-r--r-- | libpager/pager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpager/pager.h b/libpager/pager.h index dd8026a7..16b47def 100644 --- a/libpager/pager.h +++ b/libpager/pager.h @@ -155,6 +155,9 @@ pager_change_attributes (struct pager *pager, mach_port_t pager_get_port (struct pager *pager); +mach_port_t +pager_get_ro_port (struct pager *pager); + /* Force termination of a pager. After this returns, no more paging requests on the pager will be honored, and the pager will be deallocated. (The actual deallocation might |