Changes, keyctl.2, request_key.2, subpage_prot.2, syslog.2, pthread_kill.3: ERRORS: Place errors in alphabetical order

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-11-01 07:18:03 +01:00
parent eb0ac593e2
commit 27807c324f
6 changed files with 48 additions and 44 deletions

View File

@ -120,6 +120,10 @@ Various pages
Michael Kerrisk
SEE ALSO: Place entries in correct order
Various pages
Michael Kerrisk
ERRORS: Place errors in alphabetical order
Various pages
Michael Kerrisk
Remove redundant section number in page references

View File

@ -85,24 +85,24 @@ On error, the value
will be returned and errno will have been set to an appropriate error.
.SH ERRORS
.TP
.B ENOKEY
No matching key was found or an invalid key was specified.
.TP
.B EKEYEXPIRED
An expired key was found or specified.
.TP
.B EKEYREVOKED
A revoked key was found or specified.
.TP
.B EKEYREJECTED
A rejected key was found or specified.
.B EACCES
A key operation wasn't permitted.
.TP
.B EDQUOT
The key quota for the caller's user would be exceeded by creating a key or
linking it to the keyring.
.TP
.B EACCES
A key operation wasn't permitted.
.B EKEYEXPIRED
An expired key was found or specified.
.TP
.B EKEYREJECTED
A rejected key was found or specified.
.TP
.B EKEYREVOKED
A revoked key was found or specified.
.TP
.B ENOKEY
No matching key was found or an invalid key was specified.
.SH LINKING
Although this is a Linux system call, it is not present in
.I libc

View File

@ -95,20 +95,8 @@ On error, the value
will be returned and errno will have been set to an appropriate error.
.SH ERRORS
.TP
.B ENOKEY
No matching key was found.
.TP
.B EKEYEXPIRED
An expired key was found, but no replacement could be obtained.
.TP
.B EKEYREVOKED
A revoked key was found, but no replacement could be obtained.
.TP
.B EKEYREJECTED
The attempt to generate a new key was rejected.
.TP
.B ENOMEM
Insufficient memory to create a key.
.B EACCES
The keyring wasn't available for modification by the user.
.TP
.B EINTR
The request was interrupted by a signal.
@ -117,8 +105,20 @@ The request was interrupted by a signal.
The key quota for this user would be exceeded by creating this key or linking
it to the keyring.
.TP
.B EACCES
The keyring wasn't available for modification by the user.
.B EKEYEXPIRED
An expired key was found, but no replacement could be obtained.
.TP
.B EKEYREJECTED
The attempt to generate a new key was rejected.
.TP
.B EKEYREVOKED
A revoked key was found, but no replacement could be obtained.
.TP
.B ENOMEM
Insufficient memory to create a key.
.TP
.B ENOKEY
No matching key was found.
.SH LINKING
Although this is a Linux system call, it is not present in
.I libc

View File

@ -65,6 +65,11 @@ returns 0.
Otherwise, one of the error codes specified below is returned.
.SH ERRORS
.TP
.B EFAULT
The buffer referred to by
.I map
is not accessible.
.TP
.B EINVAL
The
.I addr
@ -75,11 +80,6 @@ Both of these arguments must be aligned to a multiple of the system page size,
and they must not refer to a region outside of the
address space of the process or to a region that consists of huge pages.
.TP
.B EFAULT
The buffer referred to by
.I map
is not accessible.
.TP
.B ENOMEM
Out of memory.
.SH VERSIONS

View File

@ -225,6 +225,13 @@ is less than zero; or for
.I level
is outside the range 1 to 8).
.TP
.B ENOSYS
This
.BR syslog ()
system call is not available, because the kernel was compiled with the
.BR CONFIG_PRINTK
kernel-configuration option disabled.
.TP
.B EPERM
An attempt was made to change console_loglevel or clear the kernel
message ring buffer by a process without sufficient privilege
@ -235,13 +242,6 @@ capability).
.B ERESTARTSYS
System call was interrupted by a signal; nothing was read.
(This can be seen only during a trace.)
.TP
.B ENOSYS
This
.BR syslog ()
system call is not available, because the kernel was compiled with the
.BR CONFIG_PRINTK
kernel-configuration option disabled.
.SH "CONFORMING TO"
This system call is Linux-specific and should not be used in programs
intended to be portable.

View File

@ -54,13 +54,13 @@ returns 0;
on error, it returns an error number, and no signal is sent.
.SH ERRORS
.TP
.B EINVAL
An invalid signal was specified.
.TP
.B ESRCH
No thread with the ID
.I thread
could be found.
.TP
.B EINVAL
An invalid signal was specified.
.SH CONFORMING TO
POSIX.1-2001.
.SH NOTES