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

Configure Feed

Select the types of activity you want to include in your feed.

apparmor: Fix kernel-doc warnings in apparmor/policy.c

Fix kernel-doc warnings:

security/apparmor/policy.c:294: warning: Function parameter or
member 'proxy' not described in 'aa_alloc_profile'
security/apparmor/policy.c:785: warning: Function parameter or
member 'label' not described in 'aa_policy_view_capable'
security/apparmor/policy.c:785: warning: Function parameter or
member 'ns' not described in 'aa_policy_view_capable'
security/apparmor/policy.c:847: warning: Function parameter or
member 'ns' not described in 'aa_may_manage_policy'
security/apparmor/policy.c:964: warning: Function parameter or
member 'hname' not described in '__lookup_replace'
security/apparmor/policy.c:964: warning: Function parameter or
member 'info' not described in '__lookup_replace'
security/apparmor/policy.c:964: warning: Function parameter or
member 'noreplace' not described in '__lookup_replace'
security/apparmor/policy.c:964: warning: Function parameter or
member 'ns' not described in '__lookup_replace'
security/apparmor/policy.c:964: warning: Function parameter or
member 'p' not described in '__lookup_replace'

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>

authored by

Gaosheng Cui and committed by
John Johansen
25ff0ff2 2520d61c

+10 -7
+10 -7
security/apparmor/policy.c
··· 285 285 /** 286 286 * aa_alloc_profile - allocate, initialize and return a new profile 287 287 * @hname: name of the profile (NOT NULL) 288 + * @proxy: proxy to use OR null if to allocate a new one 288 289 * @gfp: allocation type 289 290 * 290 291 * Returns: refcount profile or NULL on failure ··· 775 774 776 775 /** 777 776 * aa_policy_view_capable - check if viewing policy in at @ns is allowed 778 - * label: label that is trying to view policy in ns 779 - * ns: namespace being viewed by @label (may be NULL if @label's ns) 777 + * @label: label that is trying to view policy in ns 778 + * @ns: namespace being viewed by @label (may be NULL if @label's ns) 779 + * 780 780 * Returns: true if viewing policy is allowed 781 781 * 782 782 * If @ns is NULL then the namespace being viewed is assumed to be the ··· 841 839 /** 842 840 * aa_may_manage_policy - can the current task manage policy 843 841 * @label: label to check if it can manage policy 842 + * @ns: namespace being managed by @label (may be NULL if @label's ns) 844 843 * @mask: contains the policy manipulation operation being done 845 844 * 846 845 * Returns: 0 if the task is allowed to manipulate policy else error ··· 953 950 954 951 /** 955 952 * __lookup_replace - lookup replacement information for a profile 956 - * @ns - namespace the lookup occurs in 957 - * @hname - name of profile to lookup 958 - * @noreplace - true if not replacing an existing profile 959 - * @p - Returns: profile to be replaced 960 - * @info - Returns: info string on why lookup failed 953 + * @ns: namespace the lookup occurs in 954 + * @hname: name of profile to lookup 955 + * @noreplace: true if not replacing an existing profile 956 + * @p: Returns - profile to be replaced 957 + * @info: Returns - info string on why lookup failed 961 958 * 962 959 * Returns: profile to replace (no ref) on success else ptr error 963 960 */