path: root/Documentation/security
diff options
authorPuranjay Mohan <>2020-07-07 00:19:56 +0530
committerJonathan Corbet <>2020-07-06 14:30:38 -0600
commit4d010d1447a8bb6a079f817aee76876be70e91e5 (patch)
tree0408495cd9eaaa8823a0552c9b2e160dc2742b30 /Documentation/security
parent8286de7c9951168b777570aeb46693ced9178fb6 (diff)
Security: Documentation: Replace deprecated :c:func: Usage
Replace :c:func: with ``func()`` as the previous usage is deprecated. Remove an extra ')' to fix broken cross reference. Signed-off-by: Puranjay Mohan <> Link: Signed-off-by: Jonathan Corbet <>
Diffstat (limited to 'Documentation/security')
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/security/credentials.rst b/Documentation/security/credentials.rst
index b7482f8ccf85..d9387209d143 100644
--- a/Documentation/security/credentials.rst
+++ b/Documentation/security/credentials.rst
@@ -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.