Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp381948ybt; Mon, 6 Jul 2020 11:36:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwosyWbl514i7i4WnRHl/hYC3gT67wOUOcu8cmaPMZJSbrkdCpjghQ/uoiV9wAjQyRaM7Ov X-Received: by 2002:a17:906:314c:: with SMTP id e12mr42296558eje.500.1594060560907; Mon, 06 Jul 2020 11:36:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594060560; cv=none; d=google.com; s=arc-20160816; b=QWrdjQxmFRmsQHrsw1uRU7qyJZysOddVe8dt69itNgvwHEmJ2avSH5egUal8CvqDoz fTahHnQ6hPz57j9MQNl61T7lVj/9nsd8atdMWaVcWTAgQOtrn6B3qQjz2iTXn4FWDayj CCBrIF4r27hG49JC+iQUuAP0ibbvLqonsLt5KiuIQmGVJpuOFzVD0vHPZjmkVjC+ZUfz SYu4uqJgxD4e65q2YofFjGGVa4P0HGeeNcmsKcUYmbnZFefwkAZRhsaGyP3GLs540id8 7ySessrDeiwrBqR5laBJjyG2e77zllSNIQWTI1kR1FGIHZRKraNGXNZ+j86E3tQfWYdv c4FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ZsEH9GB4QLFFmyWG76IABNXZSgpM1RjJGPOIkiiU5Q8=; b=0QNA2Zxp+O01WgPfXKgFWBDJ+AE0fPqzDoLezNxrdwgU9D5aKVFFVpPcKqJsqWuAGH 2fTH6HcTGxtZxpl2Jl8ZhZ/QVgnm9sHMUOy/n135K2Z2+A1YxLlqSKQZW8gWTJdic2J1 VQ0A+Q19c4THb5f0fWLUZd0HIrlnG5+A3tXXOJBolJrG7lYQO+4bOpPt5l1H8FRIsMvV D5AlZvva862yigmy/ZYw+TLAMuky5jODXy1MSXCgxmwtNdVwyx7iKdc+tjWFR36J7/XE CM2UxKYTUFwr7WaXvrB6STNgXLmd9ETlcrAvzLnhVQp2Bs865qm1/1g2BS6R8LDJnjA9 jQ9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WnQdeME9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f15si12848846edt.552.2020.07.06.11.35.37; Mon, 06 Jul 2020 11:36:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WnQdeME9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729724AbgGFSe5 (ORCPT + 99 others); Mon, 6 Jul 2020 14:34:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729550AbgGFSe5 (ORCPT ); Mon, 6 Jul 2020 14:34:57 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 301D6C061755; Mon, 6 Jul 2020 11:34:57 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id d10so15666546pls.5; Mon, 06 Jul 2020 11:34:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZsEH9GB4QLFFmyWG76IABNXZSgpM1RjJGPOIkiiU5Q8=; b=WnQdeME9ikGfZFnhbuUMVks6mz2VLpBoALevc0j7CPEhcQYN286bS4XpydcK3KIL/A awCk4zrTgZ4w3satk5FXvtgjmg3uh+V3RhX69Pt3mFNYv0zEuaqLCVE9vkZsgAvNTzD0 u6NHX0Em7tAyrwQCJDLwa2ubTguYp/xZV51uw2AT9rracGL316Gr/kASQDyEVGiYLdhM utGCIW5JoihT2nmRoc9+bFSl78j3eMOsYHjOXvjboIev6X0Eeye1RCzShzO5RUz8gErC qD8geN/sdUf2Eo4ofndJsa9AOO9lN8ElNosmnAUqLsizlHCi85WkUF9Gtj8tWdwGG1Xk rcVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZsEH9GB4QLFFmyWG76IABNXZSgpM1RjJGPOIkiiU5Q8=; b=tyPYdVZv8dYdqMB/9pztOFYCvdHmA77XV2CMa3+1jQ+AJqziKDELzsNX7hZhUAgAqy oc5gcITO8YQBsJLjoj9fXWZWe7hFT57s6YXEa8P6FG9hbIWt82Uq2lzWUfAfaaHNg8cz mGmWvE/FXKMpVfU3X3kfUk/im7zoNQTiR2cZ4GqfHZrOB6NFdqTLBj+znpGe9gH/KU+f R8UCclev/Iw+PwVit7fHfEvWnaq+6BPw/6N2hpYF2ga5aZ7+Uoob68/0HI0NvxfmV7ES ISSfJxvYj2jXn4M4wrtUFWya5BDZjzt/NPpbD8fQCTycVYlFZjexuOA9l7XgDSwMmgRq o0CQ== X-Gm-Message-State: AOAM530AdHUBjhL+BN23JSz/h2/1oXGp/n63k4/Ms02HJak2deoUA7kb 6zGS6Rwvf3CGO49zi0uQlmo= X-Received: by 2002:a17:90a:22ab:: with SMTP id s40mr460587pjc.27.1594060496633; Mon, 06 Jul 2020 11:34:56 -0700 (PDT) Received: from localhost.localdomain ([210.56.100.149]) by smtp.googlemail.com with ESMTPSA id oc6sm177281pjb.43.2020.07.06.11.34.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2020 11:34:56 -0700 (PDT) From: Puranjay Mohan To: Jonathan Corbet Cc: Puranjay Mohan , skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] Security: Documentation: Replace deprecated :c:func: Usage Date: Tue, 7 Jul 2020 00:04:37 +0530 Message-Id: <20200706183437.7239-1-puranjay12@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace :c:func: with ``func()`` as the previous usage is deprecated. Remove an extra ')' to fix broken cross reference. Signed-off-by: Puranjay Mohan --- V1: Change the subject line and remove deprecated :c:func: usage --- Documentation/security/credentials.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/security/credentials.rst b/Documentation/security/credentials.rst index 282e79feee6a..77b534f61c2a 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. -- 2.27.0