]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
access.2, delete_module.2, eventfd.2, fallocate.2, fcntl.2, getrandom.2, init_module...
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 20 Oct 2017 14:55:10 +0000 (16:55 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 20 Oct 2017 14:55:10 +0000 (16:55 +0200)
Reported-by: Pedro Alves <palves@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
19 files changed:
man2/access.2
man2/delete_module.2
man2/eventfd.2
man2/fallocate.2
man2/fcntl.2
man2/getrandom.2
man2/init_module.2
man2/open.2
man2/seccomp.2
man2/timerfd_create.2
man3/openpty.3
man3/pthread_spin_lock.3
man3/shm_open.3
man3/tempnam.3
man7/fifo.7
man7/keyrings.7
man7/pid_namespaces.7
man7/sched.7
man7/thread-keyring.7

index 952604ad1fde5115a987effb1a33e7b04d7e5c30..2778c8e2c31fd8519bc4b28708224c1937223edd 100644 (file)
@@ -319,7 +319,7 @@ directories in the path prefix of
 grant search (i.e., execute) access.
 If any directory is inaccessible, then the
 .BR access ()
-call will fail, regardless of the permissions on the file itself.
+call fails, regardless of the permissions on the file itself.
 .PP
 Only access bits are checked, not the file type or contents.
 Therefore, if a directory is found to be writable,
index a38432bcea817cfcf91fde4771b17aab0efd4d35..daa15faa251d09daad6f70ed1c0431f1d8fab146 100644 (file)
@@ -106,7 +106,7 @@ By default, if a module has an
 .I init
 function but no
 .I exit
-function, then an attempt to remove the module will fail.
+function, then an attempt to remove the module fails.
 However, if
 .BR O_TRUNC
 was specified, this requirement is bypassed.
index c63891a07f5d864c8aaf86b4b88cc99758b1a64c..4c9001ed7161a2fc7c5b35df5a5a6aa2fe9950b3 100644 (file)
@@ -80,7 +80,7 @@ Each successful
 returns an 8-byte integer.
 A
 .BR read (2)
-will fail with the error
+fails with the error
 .B EINVAL
 if the size of the supplied buffer is less than 8 bytes.
 .IP
@@ -141,7 +141,7 @@ if the file descriptor has been made nonblocking.
 .IP
 A
 .BR write (2)
-will fail with the error
+fails with the error
 .B EINVAL
 if the size of the supplied buffer is less than 8 bytes,
 or if an attempt is made to write the value 0xffffffffffffffff.
index d3d310dee377fc3984c089329f6d9793f97818de..461b2be2b65479fd071aceee3eb6fd2d0f18d128 100644 (file)
@@ -165,7 +165,7 @@ must be a multiple of the filesystem logical block size,
 which varies according to the filesystem type and configuration.
 If a filesystem has such a requirement,
 .BR fallocate ()
-will fail with the error
+fails with the error
 .BR EINVAL
 if this requirement is violated.
 .PP
@@ -267,7 +267,7 @@ This mode has the same limitations as
 regarding the granularity of the operation.
 If the granularity requirements are not met,
 .BR fallocate ()
-will fail with the error
+fails with the error
 .BR EINVAL.
 If the
 .I offset
index 722c251a9d7deb4193b68b2f54db8cf929ef1bce..67642384154c4a813cd0c256ac7381e9e8f3ca0b 100644 (file)
@@ -1417,7 +1417,7 @@ If this seal is set, any further call to
 .BR fcntl ()
 with
 .B F_ADD_SEALS
-will fail with
+fails with the error
 .BR EPERM .
 Therefore, this seal prevents any modifications to the set of seals itself.
 If the initial set of seals of a file includes
index da49e5d875096ffba75a1eb33a227033f3043c2c..f8377cbc4e3177e30e5bb702bb1951fa56d888f4 100644 (file)
@@ -246,7 +246,7 @@ source is interrupted by a signal handler
 depends on the initialization state of the entropy buffer
 and on the request size,
 .IR buflen .
-If the entropy is not yet initialized, then the call will fail with the
+If the entropy is not yet initialized, then the call fails with the
 .B EINTR
 error.
 If the entropy pool has been initialized
index 8e095bb0067b58be3e20f619de7bd8957ab528bc..4f13edf1fef8c023ae0174d164e9db7bdf23d54c 100644 (file)
@@ -148,7 +148,7 @@ flag indicates that the "vermagic" string is to be ignored, and the
 flag indicates that the symbol version hashes are to be ignored.
 If the kernel is built to permit forced loading (i.e., configured with
 .BR CONFIG_MODULE_FORCE_LOAD ),
-then loading will continue, otherwise it will fail with
+then loading continues, otherwise it fails with the error
 .B ENOEXEC
 as expected for malformed modules.
 .SH RETURN VALUE
index c44e987fc83d3a79192beeba168c3eb5269d336a..02a62a255895a9f04aa38a1b7e602dccb85f9914 100644 (file)
@@ -429,7 +429,8 @@ and
 .I pathname
 already exists, then
 .BR open ()
-will fail.
+fails with the error
+.BR EEXIST .
 .IP
 When these two flags are specified, symbolic links are not followed:
 .\" POSIX.1-2001 explicitly requires this behavior.
index 6b851c47949f1f175c91d6abb7bd2cb73d38bf66..a99c262596a1a39ebc2b7db57a8124ccb8e1b747 100644 (file)
@@ -148,7 +148,7 @@ the thread must make the following call:
 .IP
 Otherwise, the
 .BR SECCOMP_SET_MODE_FILTER
-operation will fail and return
+operation fails and returns
 .BR EACCES
 in
 .IR errno .
index 0401a68f19cc61b223ffb82e147129193c1d51a0..31ee21f315b1c10c121f13473e1e8180f5f38a76 100644 (file)
@@ -297,7 +297,7 @@ flag).
 .IP
 A
 .BR read (2)
-will fail with the error
+fails with the error
 .B EINVAL
 if the size of the supplied buffer is less than 8 bytes.
 .IP
@@ -313,7 +313,7 @@ was specified when calling
 .BR timerfd_settime (),
 then
 .BR read (2)
-will fail with the error
+fails with the error
 .BR ECANCELED
 if the real-time clock undergoes a discontinuous change.
 (This allows the reading application to discover
index c35a74bcbbaf58a390b97633bea5f33b3c858cc9..56c8b4411c8b55c2339f0829dc0e3385bee39e92 100644 (file)
@@ -130,20 +130,20 @@ return 0, and the parent process of
 returns the process ID of the child process.
 .SH ERRORS
 .BR openpty ()
-will fail if:
+fails if:
 .TP
 .B ENOENT
 There are no available terminals.
 .PP
 .BR login_tty ()
-will fail if
+fails if
 .BR ioctl (2)
 fails to set
 .I fd
 to the controlling terminal of the calling process.
 .PP
 .BR forkpty ()
-will fail if either
+fails if either
 .BR openpty ()
 or
 .BR fork (2)
index 887cb5be25ff934732f49ff510f6cfae8b7d67cc..df69451f30c06a297d740fb44a9da170de326760 100644 (file)
@@ -100,7 +100,7 @@ may fail with the following errors:
 The system detected a deadlock condition.
 .PP
 .BR pthread_spin_trylock ()
-will fail with the following errors:
+fails with the following errors:
 .TP
 .B EBUSY
 The spin lock is currently locked by another thread.
index 4e01b4ac93e1bff266b05c213f71651bc2580b6f..95bc7cb458332a7465c4ceccf7878f020b296be4 100644 (file)
@@ -165,7 +165,7 @@ attempts to
 .BR shm_open ()
 an object with the same
 .I name
-will fail (unless
+fail (unless
 .B O_CREAT
 was specified, in which case a new, distinct object is created).
 .SH RETURN VALUE
index 5ccb09b54749194a4e3fc5a38957202dabafe48f..51ccfef46278df675a4c77fc42ee4a7702a78933 100644 (file)
@@ -174,7 +174,7 @@ uses at most the first five bytes from
 .PP
 The glibc implementation of
 .BR tempnam ()
-will fail with the error
+fails with the error
 .B EEXIST
 upon failure to find a unique name.
 .SH BUGS
index d7dde7ca58a3fa3d9649883158a5ad0eba0a1f7e..aa73f9dd69699549154be1ca7c2f801e26425412 100644 (file)
@@ -34,9 +34,9 @@ until the other end is opened also.
 .PP
 A process can open a FIFO in nonblocking mode.
 In this
-case, opening for read-only will succeed even if no-one has
-opened on the write side yet and opening for write-only will
-fail with
+case, opening for read-only succeeds even if no-one has
+opened on the write side yet and opening for write-only
+fails with
 .B ENXIO
 (no such device or address) unless the other
 end has already been opened.
index 3c72054b6d3d0731b8b32bb020acc01943d7aac0..e8938386559d03d74aa91c40260da29a8ae80295 100644 (file)
@@ -91,7 +91,7 @@ the key is marked as being expired and accesses to it fail with the error
 If not deleted, updated, or replaced, then, after a set amount of time,
 an expired key is automatically removed (garbage collected)
 along with all links to it,
-and attempts to access the key will fail with the error
+and attempts to access the key fail with the error
 .BR ENOKEY .
 .TP
 Reference count
index 7618f2db8f4e3716cf811fef2579d2409790fa62..d762df20315c2f50608a40dd94800e810665283c 100644 (file)
@@ -81,7 +81,7 @@ This behavior reflects the fact that the "init" process
 is essential for the correct operation of a PID namespace.
 In this case, a subsequent
 .BR fork (2)
-into this PID namespace will fail with the error
+into this PID namespace fail with the error
 .BR ENOMEM ;
 it is not possible to create a new processes in a PID namespace whose "init"
 process has terminated.
@@ -97,7 +97,7 @@ if the first child subsequently created by a
 .BR fork (2)
 terminates, then subsequent calls to
 .BR fork (2)
-will fail with
+fail with
 .BR ENOMEM .
 .PP
 Only signals for which the "init" process has established a signal handler
index 94789e565b4d586aa2fcd3791ff4bf2327fea3e2..c8073467a4131f7574007142a566f9bf372affed 100644 (file)
@@ -356,7 +356,7 @@ A call to
 .BR fork (2)
 by a thread scheduled under the
 .B SCHED_DEADLINE
-policy will fail with the error
+policy fails with the error
 .BR EAGAIN ,
 unless the thread has its reset-on-fork flag set (see below).
 .PP
index 14ac958958a24fb5a3e375208795d9050e1e823e..67c6aa87be07b8bf8402499f4daaf7bf006d8eec 100644 (file)
@@ -41,7 +41,7 @@ A thread keyring is destroyed when the thread that refers to it terminates.
 Initially, a thread does not have a thread keyring.
 If a thread doesn't have a thread keyring when it is accessed,
 then it will be created if it is to be modified;
-otherwise the operation will fail with the error
+otherwise the operation fails with the error
 .BR ENOKEY .
 .SH SEE ALSO
 .ad l