linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Smack patches for v6.0
       [not found] <827a0fe0-03a3-b5ca-db34-daff17095b8f.ref@schaufler-ca.com>
@ 2022-08-01 20:13 ` Casey Schaufler
  2022-08-02 22:11   ` Linus Torvalds
  2022-08-02 22:29   ` pr-tracker-bot
  0 siblings, 2 replies; 3+ messages in thread
From: Casey Schaufler @ 2022-08-01 20:13 UTC (permalink / raw)
  To: torvalds; +Cc: LSM List, Linux kernel mailing list, casey

Hello Linus,

Here is the Smack pull request for v6.0.

There are two minor code clean-ups. One removes a touch of
dead code and the other replaces an instance of kzalloc + strncpy
with kstrndup. The changes have been in next and pass all tests.
Thank you.

The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:

  Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)

are available in the Git repository at:

  https://github.com/cschaufler/smack-next tags/Smack-for-6.0

for you to fetch changes up to aa16fb4b9e7e1057008d999138e7ae68a40bf167:

  smack: Remove the redundant lsm_inode_alloc (2022-08-01 11:26:09 -0700)

----------------------------------------------------------------
Two minor code clean-ups for Smack.

----------------------------------------------------------------
GONG, Ruiqi (1):
      smack: Replace kzalloc + strncpy with kstrndup

Xiu Jianfeng (1):
      smack: Remove the redundant lsm_inode_alloc

 security/smack/smack_access.c | 7 ++-----
 security/smack/smack_lsm.c    | 7 -------
 2 files changed, 2 insertions(+), 12 deletions(-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] Smack patches for v6.0
  2022-08-01 20:13 ` [GIT PULL] Smack patches for v6.0 Casey Schaufler
@ 2022-08-02 22:11   ` Linus Torvalds
  2022-08-02 22:29   ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Torvalds @ 2022-08-02 22:11 UTC (permalink / raw)
  To: Casey Schaufler; +Cc: LSM List, Linux kernel mailing list

On Mon, Aug 1, 2022 at 1:13 PM Casey Schaufler <casey@schaufler-ca.com> wrote:
>
> There are two minor code clean-ups. One removes a touch of
> dead code and the other replaces an instance of kzalloc + strncpy
> with kstrndup.

Hmm. That second one looks like it really should have just used
"kmemdup()" (and a zero termination) instead, since it has already
done all the string length calculations.

Oh well. I guess the strndup() works too, but it seems kind of odd to
do a strnlen() there when you have literally limited 'len' to smaller
than the string you are going to duplicate.

                   Linus

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] Smack patches for v6.0
  2022-08-01 20:13 ` [GIT PULL] Smack patches for v6.0 Casey Schaufler
  2022-08-02 22:11   ` Linus Torvalds
@ 2022-08-02 22:29   ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: pr-tracker-bot @ 2022-08-02 22:29 UTC (permalink / raw)
  To: Casey Schaufler; +Cc: torvalds, LSM List, Linux kernel mailing list, casey

The pull request you sent on Mon, 1 Aug 2022 13:13:20 -0700:

> https://github.com/cschaufler/smack-next tags/Smack-for-6.0

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ea7099d5229c0fe9f9302b03a246e15e78b87011

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-02 22:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <827a0fe0-03a3-b5ca-db34-daff17095b8f.ref@schaufler-ca.com>
2022-08-01 20:13 ` [GIT PULL] Smack patches for v6.0 Casey Schaufler
2022-08-02 22:11   ` Linus Torvalds
2022-08-02 22:29   ` pr-tracker-bot

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).