summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Vu-Brugier <cvubrugier@fastmail.fm>2020-07-02 10:57:20 +0200
committerDavid Howells <dhowells@redhat.com>2020-07-06 18:00:28 +0100
commit839b6280b9da081d4a051fa7ffc6e5b516024c7d (patch)
tree07a30688fab1785048ec9852f3a6e507fcb0ed80
parent5ac409b01cc4fcb69d903408da90df2d34d4f32a (diff)
downloadkeyutils-839b6280b9da081d4a051fa7ffc6e5b516024c7d.tar.gz
man: fix typos
Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm> Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r--man/keyctl.34
-rw-r--r--man/keyctl_capabilities.32
-rw-r--r--man/keyctl_chown.32
-rw-r--r--man/keyctl_clear.33
-rw-r--r--man/keyctl_link.33
-rw-r--r--man/keyctl_move.33
-rw-r--r--man/keyctl_read.33
-rw-r--r--man/keyctl_revoke.32
-rw-r--r--man/keyctl_set_timeout.32
-rw-r--r--man/keyctl_setperm.32
-rw-r--r--man/keyctl_update.32
11 files changed, 12 insertions, 16 deletions
diff --git a/man/keyctl.3 b/man/keyctl.3
index 3b9e889..fda0363 100644
--- a/man/keyctl.3
+++ b/man/keyctl.3
@@ -71,9 +71,9 @@ and then telling the linker it should link in the library:
.br
.BR keyctl_negate (3)
.br
-.BR keyctl_pkey_dec (3)
+.BR keyctl_pkey_decrypt (3)
.br
-.BR keyctl_pkey_enc (3)
+.BR keyctl_pkey_encrypt (3)
.br
.BR keyctl_pkey_query (3)
.br
diff --git a/man/keyctl_capabilities.3 b/man/keyctl_capabilities.3
index 63cee3c..f816df6 100644
--- a/man/keyctl_capabilities.3
+++ b/man/keyctl_capabilities.3
@@ -29,7 +29,7 @@ of the amount of buffer space available. If the buffer is shorter than the
data, a short copy will be made; if the buffer is larger than the data, the
excess space will be cleared.
.P
-If this operation is not available in the kernel, the keyutils library will be
+If this operation is not available in the kernel, the keyutils library will
emulate it as best it can and the capability bit that indicates if the kernel
operation is available will be cleared.
.P
diff --git a/man/keyctl_chown.3 b/man/keyctl_chown.3
index 286bded..f85840a 100644
--- a/man/keyctl_chown.3
+++ b/man/keyctl_chown.3
@@ -37,7 +37,7 @@ does not match the process's GID or one of its group list.
.P
The caller must have
.B setattr
-permission on a key to be able change its ownership.
+permission on a key to be able to change its ownership.
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.SH RETURN VALUE
On success
diff --git a/man/keyctl_clear.3 b/man/keyctl_clear.3
index 21e0c26..8da699e 100644
--- a/man/keyctl_clear.3
+++ b/man/keyctl_clear.3
@@ -25,7 +25,7 @@ clears the contents of a
.P
The caller must have
.B write
-permission on a keyring to be able clear it.
+permission on a keyring to be able to clear it.
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.SH RETURN VALUE
On success
@@ -71,4 +71,3 @@ should be specified to the linker.
.BR keyctl (3),
.BR keyrings (7),
.BR keyutils (7)
-
diff --git a/man/keyctl_link.3 b/man/keyctl_link.3
index 1185874..2cbc104 100644
--- a/man/keyctl_link.3
+++ b/man/keyctl_link.3
@@ -38,7 +38,7 @@ if it exists.
.P
The caller must have
.B write
-permission on a keyring to be able create or remove links in it.
+permission on a keyring to be able to create or remove links in it.
.P
The caller must have
.B link
@@ -105,4 +105,3 @@ should be specified to the linker.
.BR keyctl (3),
.BR keyrings (7),
.BR keyutils (7)
-
diff --git a/man/keyctl_move.3 b/man/keyctl_move.3
index b241f70..6f144df 100644
--- a/man/keyctl_move.3
+++ b/man/keyctl_move.3
@@ -41,7 +41,7 @@ an error.
.P
The caller must have
.B write
-permission on both keyring to be able create or remove links in them.
+permission on both keyring to be able to create or remove links in them.
.P
The caller must have
.B link
@@ -106,4 +106,3 @@ should be specified to the linker.
.BR keyctl (3),
.BR keyrings (7),
.BR keyutils (7)
-
diff --git a/man/keyctl_read.3 b/man/keyctl_read.3
index 852bc05..97b0e24 100644
--- a/man/keyctl_read.3
+++ b/man/keyctl_read.3
@@ -16,8 +16,7 @@ keyctl_read \- read a key
.nf
.B #include <keyutils.h>
.sp
-.BI "long keyctl_read(key_serial_t " key ", char *" buffer ,
-.BI "size_t" buflen ");"
+.BI "long keyctl_read(key_serial_t " key ", char *" buffer ", size_t " buflen ");"
.sp
.BI "long keyctl_read_alloc(key_serial_t " key ", void **" _buffer ");"
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
diff --git a/man/keyctl_revoke.3 b/man/keyctl_revoke.3
index 914a253..622f1ac 100644
--- a/man/keyctl_revoke.3
+++ b/man/keyctl_revoke.3
@@ -28,7 +28,7 @@ meet with error
.P
The caller must have
.B write
-permission on a key to be able revoke it.
+permission on a key to be able to revoke it.
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.SH RETURN VALUE
On success
diff --git a/man/keyctl_set_timeout.3 b/man/keyctl_set_timeout.3
index 1b7ec94..24c7049 100644
--- a/man/keyctl_set_timeout.3
+++ b/man/keyctl_set_timeout.3
@@ -33,7 +33,7 @@ When the key expires, further attempts to access it will be met with error
.P
The caller must have
.B setattr
-permission on a key to be able change its permissions mask.
+permission on a key to be able to change its permissions mask.
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.SH RETURN VALUE
On success
diff --git a/man/keyctl_setperm.3 b/man/keyctl_setperm.3
index 0a4426d..d5d9015 100644
--- a/man/keyctl_setperm.3
+++ b/man/keyctl_setperm.3
@@ -29,7 +29,7 @@ same UID as the caller.
.P
The caller must have
.B setattr
-permission on a key to be able change its permissions mask.
+permission on a key to be able to change its permissions mask.
.P
The permissions mask is a bitwise-OR of the following flags:
.TP
diff --git a/man/keyctl_update.3 b/man/keyctl_update.3
index 17fbdb4..2d44740 100644
--- a/man/keyctl_update.3
+++ b/man/keyctl_update.3
@@ -25,7 +25,7 @@ updates the payload of a key if the key type permits it.
.P
The caller must have
.B write
-permission on a key to be able update it.
+permission on a key to be able to update it.
.P
.I payload
and