Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

doc-rst: fix inline emphasis in unshare.rst

The asterisk of the pointer is interpreted as a start tag for inline
emphasis. Asterisks which are not Sphinx markup need to be quoted in
rst-files. This fixes the Sphinx warning:

Documentation/userspace-api/unshare.rst:108: WARNING: Inline emphasis start-string without end-string.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Markus Heiser and committed by
Jonathan Corbet
5e33994d e3bb40c0

+1 -1
+1 -1
Documentation/userspace-api/unshare.rst
··· 107 107 108 108 unshare() reverses sharing that was done using clone(2) system call, 109 109 so unshare() should have a similar interface as clone(2). That is, 110 - since flags in clone(int flags, void *stack) specifies what should 110 + since flags in clone(int flags, void \*stack) specifies what should 111 111 be shared, similar flags in unshare(int flags) should specify 112 112 what should be unshared. Unfortunately, this may appear to invert 113 113 the meaning of the flags from the way they are used in clone(2).