aboutsummaryrefslogtreecommitdiffstats
path: root/man2/subpage_prot.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/subpage_prot.2')
-rw-r--r--man2/subpage_prot.28
1 files changed, 7 insertions, 1 deletions
diff --git a/man2/subpage_prot.2 b/man2/subpage_prot.2
index 56def7506a..9256bccf47 100644
--- a/man2/subpage_prot.2
+++ b/man2/subpage_prot.2
@@ -25,7 +25,7 @@
.\" in kernel commit fa28237cfcc5827553044cbd6ee52e33692b0faa
.\" both written by Paul Mackerras <paulus@samba.org>
.\"
-.TH SUBPAGE_PROT 2 2010-10-30 "Linux" "Linux Programmer's Manual"
+.TH SUBPAGE_PROT 2 2012-07-13 "Linux" "Linux Programmer's Manual"
.SH NAME
subpage_prot \- define a subpage protection for an address range
.SH SYNOPSIS
@@ -33,6 +33,9 @@ subpage_prot \- define a subpage protection for an address range
.BI "long subpage_prot(unsigned long " addr ", unsigned long " len ,
.BI " uint32_t *" map ");
.fi
+
+.IR Note :
+There is no glibc wrapper for this system call; see NOTES.
.SH DESCRIPTION
The PowerPC-specific
.BR subpage_prot ()
@@ -91,6 +94,9 @@ No library support is provided.
.SH CONFORMING TO
This system call is Linux-specific.
.SH NOTES
+Glibc does not provide a wrapper for this system call; call it using
+.BR syscall (2).
+
Normal page protections (at the 64-kB page level) also apply;
the subpage protection mechanism is an additional constraint,
so putting 0 in a 2-bit field won't allow writes to a page that is otherwise