OSDN Git Service
(root)
/
linuxjm
/
LDP_man-pages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(split) LDP: Update original to LDP v3.63
[linuxjm/LDP_man-pages.git]
/
original
/
man2
/
mprotect.2
diff --git
a/original/man2/mprotect.2
b/original/man2/mprotect.2
index
220f947
..
f8f8fba
100644
(file)
--- a/
original/man2/mprotect.2
+++ b/
original/man2/mprotect.2
@@
-35,7
+35,7
@@
.\" PROT_GROWSUP
.\" PROT_SAO (PowerPC)
.\"
.\" PROT_GROWSUP
.\" PROT_SAO (PowerPC)
.\"
-.TH MPROTECT 2 201
2-08-14
"Linux" "Linux Programmer's Manual"
+.TH MPROTECT 2 201
4-01-05
"Linux" "Linux Programmer's Manual"
.SH NAME
mprotect \- set protection on a region of memory
.SH SYNOPSIS
.SH NAME
mprotect \- set protection on a region of memory
.SH SYNOPSIS
@@
-140,7
+140,7
@@
implies
POSIX.1-2001 says that an implementation may permit access
other than that specified in
.IR prot ,
POSIX.1-2001 says that an implementation may permit access
other than that specified in
.IR prot ,
-but at a minimum can
only allow write access
if
+but at a minimum can
allow write access only
if
.B PROT_WRITE
has been set, and must not allow any access if
.B PROT_NONE
.B PROT_WRITE
has been set, and must not allow any access if
.B PROT_NONE
@@
-176,7
+176,7
@@
Got SIGSEGV at address: 0x804e000
#define handle_error(msg) \\
do { perror(msg); exit(EXIT_FAILURE); } while (0)
#define handle_error(msg) \\
do { perror(msg); exit(EXIT_FAILURE); } while (0)
-char *buffer;
+
static
char *buffer;
static void
handler(int sig, siginfo_t *si, void *unused)
static void
handler(int sig, siginfo_t *si, void *unused)