Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2017 22:48:21 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326437 - in head/lib/libc: gen sys
Message-ID:  <201712012248.vB1MmLWu099627@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Dec  1 22:48:20 2017
New Revision: 326437
URL: https://svnweb.freebsd.org/changeset/base/326437

Log:
  Correct history for Unix 2nd Edition through 6th Edition for the
  system calls. Man pages are missing for v2 and v5, so any entries for
  those versions were inferred by new implementations of these functions
  in libc.
  
  Obtained from: http://www.tuhs.org/cgi-bin/utree.pl

Modified:
  head/lib/libc/gen/signal.3
  head/lib/libc/sys/dup.2
  head/lib/libc/sys/getuid.2
  head/lib/libc/sys/kill.2
  head/lib/libc/sys/mknod.2
  head/lib/libc/sys/pipe.2
  head/lib/libc/sys/profil.2
  head/lib/libc/sys/ptrace.2
  head/lib/libc/sys/setuid.2
  head/lib/libc/sys/sync.2

Modified: head/lib/libc/gen/signal.3
==============================================================================
--- head/lib/libc/gen/signal.3	Fri Dec  1 22:38:28 2017	(r326436)
+++ head/lib/libc/gen/signal.3	Fri Dec  1 22:48:20 2017	(r326437)
@@ -28,7 +28,7 @@
 .\"     @(#)signal.3	8.3 (Berkeley) 4/19/94
 .\" $FreeBSD$
 .\"
-.Dd June 7, 2004
+.Dd December 1, 2017
 .Dt SIGNAL 3
 .Os
 .Sh NAME
@@ -263,6 +263,10 @@ or
 .Xr tty 4
 .Sh HISTORY
 The
+.Fn signal
+function appeared in
+.At v4 .
+The current
 .Nm
 facility appeared in
 .Bx 4.0 .

Modified: head/lib/libc/sys/dup.2
==============================================================================
--- head/lib/libc/sys/dup.2	Fri Dec  1 22:38:28 2017	(r326436)
+++ head/lib/libc/sys/dup.2	Fri Dec  1 22:48:20 2017	(r326437)
@@ -28,7 +28,7 @@
 .\"     @(#)dup.2	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd June 1, 2013
+.Dd December 1, 2017
 .Dt DUP 2
 .Os
 .Sh NAME
@@ -163,7 +163,9 @@ system calls are expected to conform to
 .Sh HISTORY
 The
 .Fn dup
-and
+function appeared in
+.At v3 .
+The
 .Fn dup2
-functions appeared in
+function appeared in
 .At v7 .

Modified: head/lib/libc/sys/getuid.2
==============================================================================
--- head/lib/libc/sys/getuid.2	Fri Dec  1 22:38:28 2017	(r326436)
+++ head/lib/libc/sys/getuid.2	Fri Dec  1 22:48:20 2017	(r326437)
@@ -88,4 +88,4 @@ function appeared in
 The
 .Fn geteuid
 function appeared in
-.At v7 .
+.At v4 .

Modified: head/lib/libc/sys/kill.2
==============================================================================
--- head/lib/libc/sys/kill.2	Fri Dec  1 22:38:28 2017	(r326436)
+++ head/lib/libc/sys/kill.2	Fri Dec  1 22:48:20 2017	(r326437)
@@ -28,7 +28,7 @@
 .\"     @(#)kill.2	8.3 (Berkeley) 4/19/94
 .\" $FreeBSD$
 .\"
-.Dd March 15, 2012
+.Dd December 1, 2017
 .Dt KILL 2
 .Os
 .Sh NAME
@@ -150,7 +150,11 @@ The
 system call is expected to conform to
 .St -p1003.1-90 .
 .Sh HISTORY
-The
+A version of the
 .Fn kill
 function appeared in
-.At v7 .
+.At v3 .
+The signal number was added to the
+.Fn kill
+function in
+.At v4 .

Modified: head/lib/libc/sys/mknod.2
==============================================================================
--- head/lib/libc/sys/mknod.2	Fri Dec  1 22:38:28 2017	(r326436)
+++ head/lib/libc/sys/mknod.2	Fri Dec  1 22:48:20 2017	(r326437)
@@ -175,7 +175,7 @@ system call follows The Open Group Extended API Set 2 
 The
 .Fn mknod
 function appeared in
-.At v6 .
+.At v4 .
 The
 .Fn mknodat
 system call appeared in

Modified: head/lib/libc/sys/pipe.2
==============================================================================
--- head/lib/libc/sys/pipe.2	Fri Dec  1 22:38:28 2017	(r326436)
+++ head/lib/libc/sys/pipe.2	Fri Dec  1 22:48:20 2017	(r326437)
@@ -28,7 +28,7 @@
 .\"     @(#)pipe.2	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd July 20, 2016
+.Dd December 1, 2017
 .Dt PIPE 2
 .Os
 .Sh NAME

Modified: head/lib/libc/sys/profil.2
==============================================================================
--- head/lib/libc/sys/profil.2	Fri Dec  1 22:38:28 2017	(r326436)
+++ head/lib/libc/sys/profil.2	Fri Dec  1 22:48:20 2017	(r326437)
@@ -31,7 +31,7 @@
 .\"	@(#)profil.2	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd June 4, 1993
+.Dd December 1, 2017
 .Dt PROFIL 2
 .Os
 .Sh NAME
@@ -109,7 +109,7 @@ contains an invalid address.
 The
 .Fn profil
 function appeared in
-.At v7 .
+.At v6 .
 .Sh BUGS
 This routine should be named
 .Fn profile .

Modified: head/lib/libc/sys/ptrace.2
==============================================================================
--- head/lib/libc/sys/ptrace.2	Fri Dec  1 22:38:28 2017	(r326436)
+++ head/lib/libc/sys/ptrace.2	Fri Dec  1 22:48:20 2017	(r326437)
@@ -2,7 +2,7 @@
 .\"	$NetBSD: ptrace.2,v 1.2 1995/02/27 12:35:37 cgd Exp $
 .\"
 .\" This file is in the public domain.
-.Dd September 14, 2017
+.Dd December 1, 2017
 .Dt PTRACE 2
 .Os
 .Sh NAME
@@ -1105,4 +1105,4 @@ holds the minimum buffer size required on return.
 The
 .Fn ptrace
 function appeared in
-.At v7 .
+.At v6 .

Modified: head/lib/libc/sys/setuid.2
==============================================================================
--- head/lib/libc/sys/setuid.2	Fri Dec  1 22:38:28 2017	(r326436)
+++ head/lib/libc/sys/setuid.2	Fri Dec  1 22:48:20 2017	(r326437)
@@ -158,7 +158,7 @@ function appeared in
 The
 .Fn setgid
 function appeared in
-.At v7 .
+.At v4 .
 .Sh SECURITY CONSIDERATIONS
 Read and write permissions to files are determined upon a call to
 .Xr open 2 .

Modified: head/lib/libc/sys/sync.2
==============================================================================
--- head/lib/libc/sys/sync.2	Fri Dec  1 22:38:28 2017	(r326436)
+++ head/lib/libc/sys/sync.2	Fri Dec  1 22:48:20 2017	(r326437)
@@ -28,7 +28,7 @@
 .\"     @(#)sync.2	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd June 4, 1993
+.Dd December 1, 2017
 .Dt SYNC 2
 .Os
 .Sh NAME
@@ -69,7 +69,7 @@ attributes.
 The
 .Fn sync
 function appeared in
-.At v6 .
+.At v3 .
 .Sh BUGS
 The
 .Fn sync



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712012248.vB1MmLWu099627>