]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
Security: Documentation: Replace deprecated :c:func: Usage
authorPuranjay Mohan <puranjay12@gmail.com>
Mon, 6 Jul 2020 18:49:56 +0000 (00:19 +0530)
committerJonathan Corbet <corbet@lwn.net>
Mon, 6 Jul 2020 20:30:38 +0000 (14:30 -0600)
Replace :c:func: with ``func()`` as the previous usage is deprecated.
Remove an extra ')' to fix broken cross reference.

Signed-off-by: Puranjay Mohan <puranjay12@gmail.com>
Link: https://lore.kernel.org/r/20200706184956.6928-1-puranjay12@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/security/credentials.rst

index b7482f8ccf854c06afdf123b3ae198525084d2c0..d9387209d143f91182eedf8f7a72983ca1bf7d72 100644 (file)
@@ -453,9 +453,9 @@ still at this point.
 
 When replacing the group list, the new list must be sorted before it
 is added to the credential, as a binary search is used to test for
-membership.  In practice, this means :c:func:`groups_sort` should be
-called before :c:func:`set_groups` or :c:func:`set_current_groups`.
-:c:func:`groups_sort)` must not be called on a ``struct group_list`` which
+membership.  In practice, this means groups_sort() should be
+called before set_groups() or set_current_groups().
+groups_sort() must not be called on a ``struct group_list`` which
 is shared as it may permute elements as part of the sorting process
 even if the array is already sorted.