summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-02-22 21:55:59 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-02-22 21:55:59 +0000
commit999f254bdd1f007fada89ad11fc0a375dc246c26 (patch)
treee41b655bb830ad78ac4cff826fedfaadf6378d64 /lib
parent07858c3edf55d87cbd15c2e591dc8faeae54ce48 (diff)
manpages fixes, mostly from fgsch@ with cleanup and correction.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/posix1e/extattr.35
-rw-r--r--lib/libc/posix1e/posix1e.39
-rw-r--r--lib/libc/sys/extattr_get_file.211
3 files changed, 9 insertions, 16 deletions
diff --git a/lib/libc/posix1e/extattr.3 b/lib/libc/posix1e/extattr.3
index f446c3221c8..8c2f072c793 100644
--- a/lib/libc/posix1e/extattr.3
+++ b/lib/libc/posix1e/extattr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: extattr.3,v 1.1 2002/02/22 21:06:00 drahn Exp $
+.\" $OpenBSD: extattr.3,v 1.2 2002/02/22 21:55:58 drahn Exp $
.\"
.\" Copyright (c) 2001 Dima Dorfman <dd@FreeBSD.org>
.\" All rights reserved.
@@ -35,8 +35,7 @@
.Nd convert an extended attribute namespace identifier to a string and
vice versa
.Sh SYNOPSIS
-.In sys/extattr.h
-.In libutil.h
+.In #include <sys/extattr.h>
.Ft int
.Fn extattr_namespace_to_string "int attrnamespace" "char **string"
.Ft int
diff --git a/lib/libc/posix1e/posix1e.3 b/lib/libc/posix1e/posix1e.3
index b86cc40068b..946a3bf750d 100644
--- a/lib/libc/posix1e/posix1e.3
+++ b/lib/libc/posix1e/posix1e.3
@@ -1,5 +1,5 @@
-.\" $OpenBSD: posix1e.3,v 1.1 2002/02/22 21:06:00 drahn Exp $
-.\"-
+.\" $OpenBSD: posix1e.3,v 1.2 2002/02/22 21:55:58 drahn Exp $
+.\"
.\" Copyright (c) 2000 Robert N. M. Watson
.\" All rights reserved.
.\"
@@ -32,10 +32,8 @@
.Sh NAME
.Nm posix1e
.Nd introduction to the POSIX.1e security API
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
-.In sys/types.h
+.In #include <sys/types.h>
.Sh DESCRIPTION
The IEEE POSIX.1e specification never left draft form, but the interfaces
it describes are now widely used despite inherent limitations. Currently,
@@ -60,7 +58,6 @@ functionality described in POSIX.1. These additional labels provide
fine-grained discretionary access control, fine-grained capabilities,
and labels necessary for mandatory access control. POSIX.2c describes
a set of userland utilities for manipulating these labels.
-.Sh FILES
.Sh SEE ALSO
.Xr extattr 9
.Sh STANDARDS
diff --git a/lib/libc/sys/extattr_get_file.2 b/lib/libc/sys/extattr_get_file.2
index c20699875a7..7b43c706e7b 100644
--- a/lib/libc/sys/extattr_get_file.2
+++ b/lib/libc/sys/extattr_get_file.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: extattr_get_file.2,v 1.1 2002/02/22 21:06:01 drahn Exp $
+.\" $OpenBSD: extattr_get_file.2,v 1.2 2002/02/22 21:55:58 drahn Exp $
.\"
.\" Copyright (c) 2001 Dima Dorfman <dima@unixfreak.org>
.\" All rights reserved.
@@ -37,12 +37,9 @@
.Nm extattr_set_file ,
.Nm extattr_delete_file
.Nd system calls to manipulate VFS extended attributes
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
-.In sys/types.h
-.In sys/extattr.h
-.In sys/uio.h
+.In #include <sys/types.h>
+.In #include <sys/extattr.h>
.Ft ssize_t
.Fn extattr_get_fd "int fd" "int attrnamespace" "const char *attrname" "void *data" "size_t nbytes"
.Ft int
@@ -212,7 +209,7 @@ Search permission is denied for a component of the path prefix.
.Xr extattrctl 8 ,
.Xr getextattr 8 ,
.Xr setextattr 8 ,
-.Xr extattr 9 ,
+.Xr extattr 9
.Sh HISTORY
Extended attribute support was developed as part of the
.Tn TrustedBSD