From: Dan Carpenter <dan.carpenter@linaro.org>
To: oe-kbuild@lists.linux.dev,
Casey Schaufler <casey@schaufler-ca.com>,
paul@paul-moore.com, eparis@redhat.com,
linux-security-module@vger.kernel.org, audit@vger.kernel.org
Cc: lkp@intel.com, oe-kbuild-all@lists.linux.dev, jmorris@namei.org,
serge@hallyn.com, keescook@chromium.org,
john.johansen@canonical.com, penguin-kernel@i-love.sakura.ne.jp,
stephen.smalley.work@gmail.com, linux-kernel@vger.kernel.org,
selinux@vger.kernel.org
Subject: Re: [PATCH v2 6/6] Audit: Add record for multiple object contexts
Date: Mon, 10 Mar 2025 11:20:48 +0300 [thread overview]
Message-ID: <f57dc6f4-cc46-4a58-9525-1dfda105ea59@stanley.mountain> (raw)
In-Reply-To: <20250307183701.16970-7-casey@schaufler-ca.com>
Hi Casey,
kernel test robot noticed the following build warnings:
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Casey-Schaufler/Audit-Create-audit_stamp-structure/20250308-024950
base: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git next
patch link: https://lore.kernel.org/r/20250307183701.16970-7-casey%40schaufler-ca.com
patch subject: [PATCH v2 6/6] Audit: Add record for multiple object contexts
config: powerpc64-randconfig-r073-20250309 (https://download.01.org/0day-ci/archive/20250310/202503100802.Dqju4qc5-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 14.2.0
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
| Closes: https://lore.kernel.org/r/202503100802.Dqju4qc5-lkp@intel.com/
smatch warnings:
kernel/auditsc.c:1753 audit_log_exit() warn: if statement not indented
vim +1753 kernel/auditsc.c
e54dc2431d740a Amy Griffis 2007-03-29 1749 for (aux = context->aux_pids; aux; aux = aux->next) {
e54dc2431d740a Amy Griffis 2007-03-29 1750 struct audit_aux_data_pids *axs = (void *)aux;
e54dc2431d740a Amy Griffis 2007-03-29 1751
e54dc2431d740a Amy Griffis 2007-03-29 1752 for (i = 0; i < axs->pid_count; i++)
e54dc2431d740a Amy Griffis 2007-03-29 @1753 if (audit_log_pid_context(context, axs->target_pid[i],
c2a7780efe37d0 Eric Paris 2008-01-07 1754 axs->target_auid[i],
c2a7780efe37d0 Eric Paris 2008-01-07 1755 axs->target_uid[i],
4746ec5b01ed07 Eric Paris 2008-01-08 1756 axs->target_sessionid[i],
13d826e564e2cc Casey Schaufler 2024-10-09 1757 &axs->target_ref[i],
c2a7780efe37d0 Eric Paris 2008-01-07 1758 axs->target_comm[i]))
e54dc2431d740a Amy Griffis 2007-03-29 1759 call_panic = 1;
This should be indented another tab.
a5cb013da773a6 Al Viro 2007-03-20 1760 }
a5cb013da773a6 Al Viro 2007-03-20 1761
e54dc2431d740a Amy Griffis 2007-03-29 1762 if (context->target_pid &&
e54dc2431d740a Amy Griffis 2007-03-29 1763 audit_log_pid_context(context, context->target_pid,
c2a7780efe37d0 Eric Paris 2008-01-07 1764 context->target_auid, context->target_uid,
4746ec5b01ed07 Eric Paris 2008-01-08 1765 context->target_sessionid,
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-03-10 8:20 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250307183701.16970-1-casey.ref@schaufler-ca.com>
2025-03-07 18:36 ` [PATCH v2 0/6] Audit: Records for multiple security contexts Casey Schaufler
2025-03-07 18:36 ` [PATCH v2 1/6] Audit: Create audit_stamp structure Casey Schaufler
2025-03-12 23:51 ` Paul Moore
2025-03-07 18:36 ` [PATCH v2 2/6] Audit: Allow multiple records in an audit_buffer Casey Schaufler
2025-03-12 23:51 ` Paul Moore
2025-03-07 18:36 ` [PATCH v2 3/6] LSM: security_lsmblob_to_secctx module selection Casey Schaufler
2025-03-08 15:52 ` kernel test robot
2025-03-12 23:51 ` Paul Moore
2025-03-07 18:36 ` [PATCH v2 4/6] Audit: Add record for multiple task security contexts Casey Schaufler
2025-03-12 23:51 ` Paul Moore
2025-03-13 12:29 ` Paul Moore
2025-03-07 18:37 ` [PATCH v2 5/6] Audit: multiple subject lsm values for netlabel Casey Schaufler
2025-03-12 23:51 ` Paul Moore
2025-03-07 18:37 ` [PATCH v2 6/6] Audit: Add record for multiple object contexts Casey Schaufler
2025-03-09 14:18 ` kernel test robot
2025-03-10 7:26 ` kernel test robot
2025-03-10 8:20 ` Dan Carpenter [this message]
2025-03-12 23:51 ` Paul Moore
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=f57dc6f4-cc46-4a58-9525-1dfda105ea59@stanley.mountain \
--to=dan.carpenter@linaro.org \
--cc=audit@vger.kernel.org \
--cc=casey@schaufler-ca.com \
--cc=eparis@redhat.com \
--cc=jmorris@namei.org \
--cc=john.johansen@canonical.com \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=oe-kbuild@lists.linux.dev \
--cc=paul@paul-moore.com \
--cc=penguin-kernel@i-love.sakura.ne.jp \
--cc=selinux@vger.kernel.org \
--cc=serge@hallyn.com \
--cc=stephen.smalley.work@gmail.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