Replace (il)legal by "permitted" or "valid"

This commit is contained in:
Michael Kerrisk 2008-03-10 10:04:03 +00:00
parent 87d17de470
commit e935e108ac
10 changed files with 11 additions and 11 deletions

View File

@ -72,7 +72,7 @@ and the kernel sets tuning parameter numbered
.RI "(" "func" "\-3)/2"
to that value.
.PP
The set of parameters, their values, and their legal ranges
The set of parameters, their values, and their valid ranges
are defined in the kernel source file
.IR fs/buffer.c .
.SH "RETURN VALUE"

View File

@ -97,7 +97,7 @@ The given file descriptor is not valid.
points outside of the process's accessible address space.
.TP
.B EINVAL
The given event mask contains no legal events; or
The given event mask contains no valid events; or
.I fd
is not an inotify file descriptor.
.TP

View File

@ -112,7 +112,7 @@ is unspecified if it is applied to a region of memory that
was not obtained via
.BR mmap (2).
.SH NOTES
On Linux it is always legal to call
On Linux it is always permissible to call
.BR mprotect ()
on any address in a process's address space (except for the
kernel vsyscall area).

View File

@ -48,7 +48,7 @@ argument.
The signals in
.I set
are removed from the current set of blocked signals.
It is legal to attempt to unblock a signal which is not blocked.
It is permissible to attempt to unblock a signal which is not blocked.
.TP
.B SIG_SETMASK
The set of blocked signals is set to the argument

View File

@ -222,7 +222,7 @@ The function ignores
the specified contents of the structure members \fItm_wday\fP and \fItm_yday\fP
and recomputes them from the other information in the broken-down time
structure.
If structure members are outside their legal interval, they will be
If structure members are outside their valid interval, they will be
normalized (so that, for example, 40 October is changed into 9 November).
Calling
.BR mktime ()

View File

@ -27,7 +27,7 @@
.\" Modified Sat Jul 24 19:17:53 1993 by Rik Faith (faith@cs.unc.edu)
.TH GETUSERSHELL 3 2007-07-26 "GNU" "Linux Programmer's Manual"
.SH NAME
getusershell, setusershell, endusershell \- get legal user shells
getusershell, setusershell, endusershell \- get permitted user shells
.SH SYNOPSIS
.nf
.B #include <unistd.h>

View File

@ -181,7 +181,7 @@ points to still exists by the time
.I stream
is closed, which also happens at program termination.
.P
For example, the following is illegal:
For example, the following is invalid:
.nf
.sp
#include <stdio.h>

View File

@ -839,7 +839,7 @@ process.
.B EINVAL
An
.BR ioctl (2)
had an illegal argument, or a requested block size was illegal.
had an invalid argument, or a requested block size was invalid.
.TP
.B EIO
The requested operation could not be completed.

View File

@ -493,7 +493,7 @@ causing the error is returned as normal payload.
.\" conditions and breaks the protocol specification.
Note that TCP has no error queue;
.B MSG_ERRQUEUE
is illegal on
is not permitted on
.B SOCK_STREAM
sockets.
.B IP_RECVERR

View File

@ -129,7 +129,7 @@ It defaults to the socket's protocol.
is the interface index of the interface
(see
.BR netdevice (7));
0 matches any interface (only legal for binding).
0 matches any interface (only permitted for binding).
.I sll_hatype
is a ARP type as defined in the
.I <linux/if_arp.h>
@ -267,7 +267,7 @@ No packet received.
No interface address passed.
.TP
.B ENXIO
Interface address contained illegal interface index.
Interface address contained an invalid interface index.
.TP
.B EPERM
User has insufficient privileges to carry out this operation.