Author: brooks
Date: Thu Jun 20 21:52:30 2019
New Revision: 349245
URL: https://svnweb.freebsd.org/changeset/base/349245

Log:
  Add PROT_MAX to the HISTORY section.
  
  In the case of mmap(), add a HISTORY section.  Mention that mmap() and
  mprotect()'s documentation predates an implementation.  The
  implementation first saw wide use in 4.3-Reno, but there seems to be no
  easy way to express that in mdoc so stick with 4.4BSD.
  
  Reviewed by:  emaste
  Requested by: cem
  Sponsored by: DARPA, AFRL
  Differential Revision:        https://reviews.freebsd.org/D20713

Modified:
  head/lib/libc/sys/mmap.2
  head/lib/libc/sys/mprotect.2

Modified: head/lib/libc/sys/mmap.2
==============================================================================
--- head/lib/libc/sys/mmap.2    Thu Jun 20 21:29:28 2019        (r349244)
+++ head/lib/libc/sys/mmap.2    Thu Jun 20 21:52:30 2019        (r349245)
@@ -542,3 +542,16 @@ was specified and insufficient memory was available.
 .Xr munmap 2 ,
 .Xr getpagesize 3 ,
 .Xr getpagesizes 3
+.Sh HISTORY
+The
+.Nm
+system call was first documented in
+.Bx 4.2
+and implemented in
+.Bx 4.4 .
+.\" XXX: lots of missing history of FreeBSD additions.
+.Pp
+The
+.Dv PROT_MAX
+functionality was introduced in
+.Fx 13 .

Modified: head/lib/libc/sys/mprotect.2
==============================================================================
--- head/lib/libc/sys/mprotect.2        Thu Jun 20 21:29:28 2019        
(r349244)
+++ head/lib/libc/sys/mprotect.2        Thu Jun 20 21:52:30 2019        
(r349245)
@@ -118,5 +118,12 @@ argument.
 .Sh HISTORY
 The
 .Fn mprotect
-system call first appeared in
+system call was first documented in
+.Bx 4.2
+and first appeared in
 .Bx 4.4 .
+.Pp
+The
+.Dv PROT_MAX
+functionality was introduced in
+.Fx 13 .
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to