diff options
Diffstat (limited to 'usr.bin/cap_mkdb/cap_mkdb.1')
-rw-r--r-- | usr.bin/cap_mkdb/cap_mkdb.1 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/cap_mkdb/cap_mkdb.1 b/usr.bin/cap_mkdb/cap_mkdb.1 index 878b8be1331..99300c4c930 100644 --- a/usr.bin/cap_mkdb/cap_mkdb.1 +++ b/usr.bin/cap_mkdb/cap_mkdb.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cap_mkdb.1,v 1.5 1998/09/06 22:23:16 aaron Exp $ +.\" $OpenBSD: cap_mkdb.1,v 1.6 1998/09/23 04:32:36 aaron Exp $ .\" $NetBSD: cap_mkdb.1,v 1.4 1995/03/26 03:59:36 glass Exp $ .\" .\" Copyright (c) 1992, 1993 @@ -49,7 +49,7 @@ .Op Ar file2 ... .Pp .Sh DESCRIPTION -.Nm Cap_mkdb +.Nm cap_mkdb builds a hashed database out of the .Xr getcap 3 logical database constructed by the concatenation of the specified @@ -78,7 +78,9 @@ Print out the number of capability records in the database. Each record is stored in the database using two different types of keys. .Pp The first type is a key which consists of the first capability of -the record (not including the trailing colon (``:'')) with a data +the record (not including the trailing colon +.Pq Sq \&: ) +with a data field consisting of a special byte followed by the rest of the record. The special byte is either a 0 or 1, where a 0 means that the record is okay, and a 1 means that there was a ``tc'' capability in the record @@ -97,7 +99,7 @@ name. .Sh RETURN VALUE The .Nm cap_mkdb -utility exits 0 on success and >0 if an error occurs. +utility exits 0 on success or >0 if an error occurred. .Sh SEE ALSO .Xr dbopen 3 , .Xr getcap 3 , |