Linux-man Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] proc(5): ffix
@ 2020-03-13 16:14 Kir Kolyshkin
  0 siblings, 0 replies; only message in thread
From: Kir Kolyshkin @ 2020-03-13 16:14 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man, Kir Kolyshkin

Mark some literal strings with bold.

Mark some variable strings with italic.

Remove some unneeded R from .BR, .IR etc.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
---
 man5/proc.5 | 45 +++++++++++++++++++++++++++++----------------
 1 file changed, 29 insertions(+), 16 deletions(-)

diff --git a/man5/proc.5 b/man5/proc.5
index a5dbad702..58129cdcf 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -131,7 +131,7 @@ but it hides a process's UID and GID,
 which could otherwise be learned by employing
 .BR stat (2)
 on a
-.IR /proc/[pid]
+.I /proc/[pid]
 directory.
 This greatly complicates an attacker's task of gathering
 information about running processes (e.g., discovering whether
@@ -144,11 +144,11 @@ whether other users are running any program at all, and so on).
 .\" commit 0499680a42141d86417a8fbaa8c8db806bea1201
 Specifies the ID of a group whose members are authorized to
 learn process information otherwise prohibited by
-.BR hidepid
+.B hidepid
 (i.e., users in this group behave as though
 .I /proc
 was mounted with
-.IR hidepid=0 ).
+.BR hidepid=0 ).
 This group should be used instead of approaches such as putting
 nonroot users into the
 .BR sudoers (5)
@@ -1465,16 +1465,20 @@ mount options: per-mount options (see
 .BR mount (2)).
 .TP
 (7)
-optional fields: zero or more fields of the form "tag[:value]"; see below.
+optional fields: zero or more fields of the form
+.IR tag [: value ];
+see below.
 .TP
 (8)
 separator: the end of the optional fields is marked by a single hyphen.
 .TP
 (9)
-filesystem type: the filesystem type in the form "type[.subtype]".
+filesystem type: the filesystem type in the form
+.IR type [. subtype ].
 .TP
 (10)
-mount source: filesystem-specific information or "none".
+mount source: filesystem-specific information or
+.BR none .
 .TP
 (11)
 super options: per-superblock options (see
@@ -1482,11 +1486,11 @@ super options: per-superblock options (see
 .RE
 .IP
 Currently, the possible optional fields are
-.IR shared ,
-.IR master ,
-.IR propagate_from ,
+.BR shared ,
+.BR master ,
+.BR propagate_from ,
 and
-.IR unbindable .
+.BR unbindable .
 See
 .BR mount_namespaces (7)
 for a description of these fields.
@@ -1540,7 +1544,9 @@ The fields in each line are:
 .TP 5
 (1)
 The name of the mounted device
-(or "nodevice" if there is no corresponding device).
+(or
+.B nodevice
+if there is no corresponding device).
 .TP
 (2)
 The mount point within the filesystem tree.
@@ -2856,11 +2862,18 @@ Valid only for timers that notify via a signal.
 .I notify
 The part before the slash specifies the mechanism
 that this timer uses to deliver notifications,
-and is one of "thread", "signal", or "none".
-Immediately following the slash is either the string "tid" for timers
-with
+and is one of
+.BR thread ,
+.BR signal ,
+or
+.BR none .
+Immediately following the slash is either the string
+.B tid
+for timers with
 .B SIGEV_THREAD_ID
-notification, or "pid" for timers that notify by other mechanisms.
+notification, or
+.B pid
+for timers that notify by other mechanisms.
 Following the "." is the PID of the process
 (or the kernel thread ID of the thread)  that will be delivered
 a signal if the timer delivers notifications via a signal.
@@ -2868,7 +2881,7 @@ a signal if the timer delivers notifications via a signal.
 .I ClockID
 This field identifies the clock that the timer uses for measuring time.
 For most clocks, this is a number that matches one of the user-space
-.BR CLOCK_*
+.B CLOCK_*
 constants exposed via
 .IR <time.h> .
 .B CLOCK_PROCESS_CPUTIME_ID
-- 
2.24.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13 16:14 [PATCH] proc(5): ffix Kir Kolyshkin

Linux-man Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-man/0 linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ https://lore.kernel.org/linux-man \
		linux-man@vger.kernel.org
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-man


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git