aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man/man2')
-rw-r--r--man/man2/prctl.237
1 files changed, 3 insertions, 34 deletions
diff --git a/man/man2/prctl.2 b/man/man2/prctl.2
index 087a29ca3e..f2e0b453ef 100644
--- a/man/man2/prctl.2
+++ b/man/man2/prctl.2
@@ -100,40 +100,8 @@ The first argument can be:
.B PR_MCE_KILL_GET
.TQ
.B PR_SET_MM
-.\" prctl PR_SET_VMA
-.TP
-.BR PR_SET_VMA " (since Linux 5.17)"
-.\" Commit 9a10064f5625d5572c3626c1516e0bebc6c9fe9b
-Sets an attribute specified in
-.I arg2
-for virtual memory areas starting from the address specified in
-.I arg3
-and spanning the size specified in
-.IR arg4 .
-.I arg5
-specifies the value of the attribute to be set.
-.IP
-Note that assigning an attribute to a virtual memory area
-might prevent it from being merged with adjacent virtual memory areas
-due to the difference in that attribute's value.
-.IP
-Currently,
-.I arg2
-must be one of:
-.RS
-.TP
-.B PR_SET_VMA_ANON_NAME
-Set a name for anonymous virtual memory areas.
-.I arg5
-should be a pointer to a null-terminated string containing the name.
-The name length including null byte cannot exceed 80 bytes.
-If
-.I arg5
-is NULL, the name of the appropriate anonymous virtual memory areas
-will be reset.
-The name can contain only printable ascii characters (including space),
-except \[aq][\[aq], \[aq]]\[aq], \[aq]\e\[aq], \[aq]$\[aq], and \[aq]\[ga]\[aq].
-.RE
+.TQ
+.B PR_SET_VMA
.\" prctl PR_MPX_ENABLE_MANAGEMENT
.TP
.B PR_MPX_ENABLE_MANAGEMENT
@@ -1697,4 +1665,5 @@ glibc 2.0.6
.BR PR_MCE_KILL (2const),
.BR PR_MCE_KILL_GET (2const),
.BR PR_SET_MM (2const),
+.BR PR_SET_VMA (2const),
.BR core (5)