The output is unchanged. Signed-off-by: Bjarni Ingi Gislason <bjarniig@xxxxxxxxx> --- man2/delete_module.2 | 20 ++++++++++---------- man2/dup.2 | 12 ++++++------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/man2/delete_module.2 b/man2/delete_module.2 index daa15faa2..9d265d079 100644 --- a/man2/delete_module.2 +++ b/man2/delete_module.2 @@ -42,7 +42,7 @@ If the module has an .I exit function, then that function is executed before unloading the module. The -.IR flags +.I flags argument is used to modify the behavior of the system call, as described below. This system call requires privilege. @@ -61,9 +61,9 @@ If a module has a nonzero reference count, then the behavior depends on the bits set in .IR flags . In normal usage (see NOTES), the -.BR O_NONBLOCK +.B O_NONBLOCK flag is always specified, and the -.BR O_TRUNC +.B O_TRUNC flag may additionally be specified. .\" O_TRUNC == KMOD_REMOVE_FORCE in kmod library .\" O_NONBLOCK == KMOD_REMOVE_NOWAIT in kmod library @@ -108,7 +108,7 @@ function but no .I exit function, then an attempt to remove the module fails. However, if -.BR O_TRUNC +.B O_TRUNC was specified, this requirement is bypassed. .PP Using the @@ -118,7 +118,7 @@ If the kernel was not built with .BR CONFIG_MODULE_FORCE_UNLOAD , this flag is silently ignored. (Normally, -.BR CONFIG_MODULE_FORCE_UNLOAD +.B CONFIG_MODULE_FORCE_UNLOAD is enabled.) Using this flag taints the kernel (TAINT_FORCED_RMMOD). .SH RETURN VALUE @@ -155,14 +155,14 @@ The caller was not privileged capability), or module unloading is disabled (see -.IR /proc/sys/kernel/modules_disabled +.I /proc/sys/kernel/modules_disabled in .BR proc (5)). .TP .B EWOULDBLOCK Other modules depend on this module; or, -.BR O_NONBLOCK +.B O_NONBLOCK was specified in .IR flags , but the reference count of this module is nonzero and @@ -185,13 +185,13 @@ alternatively, you can invoke the system call using .BR syscall (2). .PP The uninterruptible sleep that may occur if -.BR O_NONBLOCK +.B O_NONBLOCK is omitted from -.IR flags +.I flags is considered undesirable, because the sleeping process is left in an unkillable state. As at Linux 3.7, specifying -.BR O_NONBLOCK +.B O_NONBLOCK is optional, but in future kernels it is likely to become mandatory. .SS Linux 2.4 and earlier In Linux 2.4 and earlier, the system call took only one argument: diff --git a/man2/dup.2 b/man2/dup.2 index 5db7abd43..a43e1e138 100644 --- a/man2/dup.2 +++ b/man2/dup.2 @@ -83,11 +83,11 @@ but instead of using the lowest-numbered unused file descriptor, it uses the file descriptor number specified in .IR newfd . If the file descriptor -.IR newfd +.I newfd was previously open, it is silently closed before being reused. .PP The steps of closing and reusing the file descriptor -.IR newfd +.I newfd are performed .IR atomically . This is important, because trying to implement equivalent functionality using @@ -129,7 +129,7 @@ except that: .IP * 3 The caller can force the close-on-exec flag to be set for the new file descriptor by specifying -.BR O_CLOEXEC +.B O_CLOEXEC in .IR flags . See the description of the same flag in @@ -140,7 +140,7 @@ for reasons why this may be useful. .\" We deliberately decided on this change. Otherwise, what is the .\" result of dup3(fd, fd, O_CLOEXEC)? If -.IR oldfd +.I oldfd equals .IR newfd , then @@ -162,7 +162,7 @@ isn't an open file descriptor. .B EBADF .I newfd is out of the allowed range for file descriptors (see the discussion of -.BR RLIMIT_NOFILE +.B RLIMIT_NOFILE in .BR getrlimit (2)). .TP @@ -198,7 +198,7 @@ was equal to .B EMFILE The per-process limit on the number of open file descriptors has been reached (see the discussion of -.BR RLIMIT_NOFILE +.B RLIMIT_NOFILE in .BR getrlimit (2)). .SH VERSIONS -- 2.19.2 -- Bjarni I. Gislason