diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2004-07-06 06:53:42 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2004-07-06 06:53:42 +0000 |
commit | a970c85ca93a3652d5993ead094035ca2486399e (patch) | |
tree | b6b3eecd3b6fb113fdd7ea6a76886cf7829e436b /share/man/man9/vm_map_stack.9 | |
parent | f29897b67da84d3a96db24b79cb3a8eb83d43c1d (diff) | |
download | src-a970c85ca93a3652d5993ead094035ca2486399e.tar.gz src-a970c85ca93a3652d5993ead094035ca2486399e.zip |
mdoc(7) fixes.
Notes
Notes:
svn path=/head/; revision=131680
Diffstat (limited to 'share/man/man9/vm_map_stack.9')
-rw-r--r-- | share/man/man9/vm_map_stack.9 | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/share/man/man9/vm_map_stack.9 b/share/man/man9/vm_map_stack.9 index d74de299436c..85fdce82a1af 100644 --- a/share/man/man9/vm_map_stack.9 +++ b/share/man/man9/vm_map_stack.9 @@ -26,7 +26,7 @@ .\" $FreeBSD$ .\" .Dd July 19, 2003 -.Dt vm_map_stack 9 +.Dt VM_MAP_STACK 9 .Sh NAME .Nm vm_map_stack , .Nm vm_map_growstack @@ -36,12 +36,15 @@ .In vm/vm.h .In vm/vm_map.h .Ft int -.Fn vm_map_stack "vm_map_t map" "vm_offset_t addrbos" "vm_size_t max_ssize" "vm_prot_t prot" "vm_prot_t max" "int cow" +.Fo vm_map_stack +.Fa "vm_map_t map" "vm_offset_t addrbos" "vm_size_t max_ssize" "vm_prot_t prot" +.Fa "vm_prot_t max" "int cow" +.Fc .Ft int .Fn vm_map_growstack "struct proc *p" "vm_offset_t addr" .Sh DESCRIPTION The -.Fn +.Fn vm_map_stack function maps a process stack for a new process image. The stack is mapped .Fa addrbos @@ -58,7 +61,7 @@ and .Fa max . .Pp It is typically called by -.Xr exec 2 . +.Xr execve 2 . .Pp The .Fn vm_map_growstack @@ -79,7 +82,7 @@ to create its mappings. The .Fn vm_map_growstack function acquires the -.Dv Giant +.Va Giant lock, and the process lock on .Fa p , for the duration of the call. @@ -119,7 +122,7 @@ is outside the stack range; this is done in order to preserve compatibility with the deprecated .Fn grow function previously located in the file -.Li vm_machdep.c . +.Pa vm_machdep.c . .Sh SEE ALSO .Xr vm_map 9 , .Xr vm_map_insert 9 |