diff options
Diffstat (limited to 'man2/subpage_prot.2')
-rw-r--r-- | man2/subpage_prot.2 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/man2/subpage_prot.2 b/man2/subpage_prot.2 index 4309a7d..aaeb883 100644 --- a/man2/subpage_prot.2 +++ b/man2/subpage_prot.2 @@ -7,7 +7,7 @@ .\" in Linux commit fa28237cfcc5827553044cbd6ee52e33692b0faa .\" both written by Paul Mackerras <paulus@samba.org> .\" -.TH subpage_prot 2 2023-03-30 "Linux man-pages 6.05.01" +.TH subpage_prot 2 2023-10-31 "Linux man-pages 6.7" .SH NAME subpage_prot \- define a subpage protection for an address range .SH LIBRARY @@ -17,11 +17,11 @@ Standard C library .nf .BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */" .B #include <unistd.h> -.PP +.P .BI "int syscall(SYS_subpage_prot, unsigned long " addr ", unsigned long " len , .BI " uint32_t *" map ); .fi -.PP +.P .IR Note : glibc provides no wrapper for .BR subpage_prot (), @@ -33,14 +33,14 @@ The PowerPC-specific system call provides the facility to control the access permissions on individual 4\ kB subpages on systems configured with a page size of 64\ kB. -.PP +.P The protection map is applied to the memory pages in the region starting at .I addr and continuing for .I len bytes. Both of these arguments must be aligned to a 64-kB boundary. -.PP +.P The protection map is specified in the buffer pointed to by .IR map . The map has 2 bits per 4\ kB subpage; @@ -80,7 +80,7 @@ Out of memory. Linux. .SH HISTORY Linux 2.6.25 (PowerPC). -.PP +.P The system call is provided only if the kernel is configured with .BR CONFIG_PPC_64K_PAGES . .SH NOTES @@ -113,6 +113,6 @@ hardware pages (on machines with hardware 64-kB page support). .SH SEE ALSO .BR mprotect (2), .BR syscall (2) -.PP +.P .I Documentation/admin\-guide/mm/hugetlbpage.rst in the Linux kernel source tree |