From: kernel test robot <lkp@intel.com>
To: Richard Guy Briggs <rgb@redhat.com>,
Linux-Audit Mailing List <linux-audit@redhat.com>,
LKML <linux-kernel@vger.kernel.org>,
Linux Security Module list
<linux-security-module@vger.kernel.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
Paul Moore <paul@paul-moore.com>,
eparis@parisplace.org, john.johansen@canonical.com,
Richard Guy Briggs <rgb@redhat.com>
Subject: Re: [PATCH ghak84 v2] audit: purge audit_log_string from the intra-kernel audit API
Date: Sat, 4 Jul 2020 04:16:33 +0800 [thread overview]
Message-ID: <202007040432.1QGa23ay%lkp@intel.com> (raw)
In-Reply-To: <a8263fc3668077e0d6b5151bcb31274755bdd838.1593789083.git.rgb@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 3229 bytes --]
Hi Richard,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on pcmoore-audit/next]
[also build test WARNING on linux/master linus/master v5.8-rc3 next-20200703]
[cannot apply to security/next-testing]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Richard-Guy-Briggs/audit-purge-audit_log_string-from-the-intra-kernel-audit-API/20200704-010439
base: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git next
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project ca464639a1c9dd3944eb055ffd2796e8c2e7639f)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> security/apparmor/ipc.c:39:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
security/apparmor/ipc.c:153:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
2 warnings generated.
vim +39 security/apparmor/ipc.c
0ed3b28ab8bf46 John Johansen 2010-07-29 20
290f458a4f16f9 John Johansen 2017-06-09 21 /**
290f458a4f16f9 John Johansen 2017-06-09 22 * audit_ptrace_mask - convert mask to permission string
290f458a4f16f9 John Johansen 2017-06-09 23 * @mask: permission mask to convert
cd81837f196754 Richard Guy Briggs 2020-07-03 24 *
cd81837f196754 Richard Guy Briggs 2020-07-03 25 * Returns: pointer to static string
290f458a4f16f9 John Johansen 2017-06-09 26 */
cd81837f196754 Richard Guy Briggs 2020-07-03 27 static const char *audit_ptrace_mask(u32 mask)
290f458a4f16f9 John Johansen 2017-06-09 28 {
290f458a4f16f9 John Johansen 2017-06-09 29 switch (mask) {
290f458a4f16f9 John Johansen 2017-06-09 30 case MAY_READ:
cd81837f196754 Richard Guy Briggs 2020-07-03 31 return "read";
290f458a4f16f9 John Johansen 2017-06-09 32 case MAY_WRITE:
cd81837f196754 Richard Guy Briggs 2020-07-03 33 return "trace";
290f458a4f16f9 John Johansen 2017-06-09 34 case AA_MAY_BE_READ:
cd81837f196754 Richard Guy Briggs 2020-07-03 35 return "readby";
290f458a4f16f9 John Johansen 2017-06-09 36 case AA_MAY_BE_TRACED:
cd81837f196754 Richard Guy Briggs 2020-07-03 37 return "tracedby";
290f458a4f16f9 John Johansen 2017-06-09 38 }
290f458a4f16f9 John Johansen 2017-06-09 @39 }
290f458a4f16f9 John Johansen 2017-06-09 40
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 75313 bytes --]
prev parent reply other threads:[~2020-07-03 20:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-03 17:01 [PATCH ghak84 v2] audit: purge audit_log_string from the intra-kernel audit API Richard Guy Briggs
2020-07-03 20:16 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202007040432.1QGa23ay%lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=eparis@parisplace.org \
--cc=john.johansen@canonical.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-audit@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=paul@paul-moore.com \
--cc=rgb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).