From: Casey Schaufler <casey@schaufler-ca.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Linux Security Module list
<linux-security-module@vger.kernel.org>,
Casey Schaufler <casey@schaufler-ca.com>
Subject: [GIT PULL] Smack patches for v5.10
Date: Mon, 12 Oct 2020 11:13:01 -0700 [thread overview]
Message-ID: <efb97951-c946-8511-a6c3-b8aa340ebf8f@schaufler-ca.com> (raw)
In-Reply-To: efb97951-c946-8511-a6c3-b8aa340ebf8f.ref@schaufler-ca.com
Hello Linus
Here are two minor fixes and one performance enhancement to Smack
for the v5.10 release. The netlabel cache changes have been in linux-next
for several weeks. The performance improvement is significant and the
new code is more like its counterpart in SELinux.
--
The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd:
Linux 5.9-rc2 (2020-08-23 14:08:43 -0700)
are available in the Git repository at:
https://github.com/cschaufler/smack-next tags/Smack-for-5.10
for you to fetch changes up to edd615371b668404d06699c04f5f90c4f438814a:
Smack: Remove unnecessary variable initialization (2020-10-05 14:20:51 -0700)
----------------------------------------------------------------
Smack LSM changes for Linux 5.10
Two kernel test robot suggested clean-ups.
Teach Smack to use the IPv4 netlabel cache.
This results in a 12-14% improvement on TCP benchmarks.
----------------------------------------------------------------
Casey Schaufler (5):
Smack: Consolidate uses of secmark into a function
Smack: Set socket labels only once
Smack: Use the netlabel cache
Smack: Fix build when NETWORK_SECMARK is not set
Smack: Remove unnecessary variable initialization
security/smack/smack.h | 19 +---
security/smack/smack_access.c | 55 ++++++---
security/smack/smack_lsm.c | 252 +++++++++++++++++++++++++-----------------
security/smack/smackfs.c | 23 ++--
4 files changed, 200 insertions(+), 149 deletions(-)
next parent reply other threads:[~2020-10-12 18:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <efb97951-c946-8511-a6c3-b8aa340ebf8f.ref@schaufler-ca.com>
2020-10-12 18:13 ` Casey Schaufler [this message]
2020-10-13 23:49 ` [GIT PULL] Smack patches for v5.10 pr-tracker-bot
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=efb97951-c946-8511-a6c3-b8aa340ebf8f@schaufler-ca.com \
--to=casey@schaufler-ca.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/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).