summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-11-07 11:33:24 +0000
committerschwarze <schwarze@openbsd.org>2011-11-07 11:33:24 +0000
commitfcc39013d633327965c2caa5d5f068832c7ffcce (patch)
treee0b2cc11ea8998945864f1076a6a1511f4e337d2 /lib/libc
parentMore .At v1 HISTORY. (diff)
downloadwireguard-openbsd-fcc39013d633327965c2caa5d5f068832c7ffcce.tar.xz
wireguard-openbsd-fcc39013d633327965c2caa5d5f068832c7ffcce.zip
Expand HISTORY; feedback and ok jmc@ sobrado@.
This one is tricky, so i'm giving the sources: http://minnie.tuhs.org/cgi-bin/utree.pl?file=V1/u2.s http://minnie.tuhs.org/cgi-bin/utree.pl?file=V4/nsys/ken/sys3.c http://minnie.tuhs.org/cgi-bin/utree.pl?file=V5/usr/sys/ken/sys4.c http://minnie.tuhs.org/cgi-bin/utree.pl?file=V6/usr/sys/ken/sys4.c http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/sys/sys/sys4.c http://www.openbsd.org/plus21.html (lchown)
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/chown.229
1 files changed, 21 insertions, 8 deletions
diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2
index 20aa594b549..673c364605e 100644
--- a/lib/libc/sys/chown.2
+++ b/lib/libc/sys/chown.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chown.2,v 1.18 2011/10/24 19:31:56 schwarze Exp $
+.\" $OpenBSD: chown.2,v 1.19 2011/11/07 11:33:24 schwarze Exp $
.\" $NetBSD: chown.2,v 1.10 1995/10/12 15:40:47 jtc Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
@@ -30,7 +30,7 @@
.\"
.\" @(#)chown.2 8.4 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: October 24 2011 $
+.Dd $Mdocdate: November 7 2011 $
.Dt CHOWN 2
.Os
.Sh NAME
@@ -220,9 +220,21 @@ and
functions are expected to conform to
.St -p1003.1-2008 .
.Sh HISTORY
+A
+.Fn chown
+system call first appeared in
+.At v1 .
+Since
+.At v6
+it supports changing the group as well,
+and in
+.At v7
+.Fa group
+was made a separate argument.
+.Pp
The
.Fn fchown
-function call appeared in
+system call first appeared in
.Bx 4.2 .
.Pp
The
@@ -230,13 +242,14 @@ The
and
.Fn fchown
functions were changed to follow symbolic links in
-.Bx 4.4 .
-.Pp
-The
+.Bx 4.4 ;
+therefore, and for compatibility with
+.At V.4 ,
+the
.Fn lchown
function was added to
-.Ox
-due to the above.
+.Ox 2.1 .
+.Pp
The
.Fn fchownat
function appeared in