FreeBSD Bugzilla – Attachment 27220 Details for
Bug 46252
[Patch] mprotect.2 update and clarification
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 959 bytes, created by
Jeroen Ruigrok/Asmodai
on 2002-12-14 10:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jeroen Ruigrok/Asmodai
Created:
2002-12-14 10:30:01 UTC
Size:
959 bytes
patch
obsolete
>Index: src/lib/libc/sys/mprotect.2 >=================================================================== >RCS file: /home/ncvs/FreeBSD/src/lib/libc/sys/mprotect.2,v >retrieving revision 1.14 >diff -u -r1.14 mprotect.2 >--- src/lib/libc/sys/mprotect.2 24 Aug 2002 00:39:43 -0000 1.14 >+++ src/lib/libc/sys/mprotect.2 14 Dec 2002 10:20:19 -0000 >@@ -52,6 +52,22 @@ > .Fa prot . > Not all implementations will guarantee protection on a page basis; > the granularity of protection changes may be as large as an entire region. >+A region is the virtual address space defined by the start >+and end addresses of a >+.Vt "struct vm_map_entry" . >+.Pp >+Currently these protection bits are known, >+which can be combined, OR'd together: >+.Bl -tag width "PROT_WRITE" >+.It PROT_NONE >+No permissions at all. >+.It PROT_READ >+The pages can be read. >+.It PROT_WRITE >+The pages can be written. >+.It PROT_EXEC >+The pages can be executed. >+.El > .Sh RETURN VALUES > .Rv -std mprotect > .Sh ERRORS
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 46252
: 27220