linux-integrity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Stable backport request
@ 2022-12-21 14:50 Mimi Zohar
  2022-12-21 18:22 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Mimi Zohar @ 2022-12-21 14:50 UTC (permalink / raw)
  To: stable; +Cc: linux-integrity, Guozihua (Scott), Tyler Hicks

Stable team,

Please backport these upstream commits to stable kernels:
- c7423dbdbc9e ("ima: Handle -ESTALE returned by
ima_filter_rule_match()"

Dependency on:
- d57378d3aa4d ("ima: Simplify ima_lsm_copy_rule")

Known minor merge conflicts:
- Commit: 65603435599f ("ima: Fix trivial typos in the comments") fixed
"refrences" spelling, causes a merge conflict.
- Commit 28073eb09c5a ("ima: Fix fall-through warnings for Clang") adds
a "break;" before "default:", causes a merge conflict.

Simplifies backporting to linux-5.4.y:
- 465aee77aae8 ("ima: Free the entire rule when deleting a list of
rules")
  except for the line "kfree(entry->keyrings);" - introduced in 5.6.y.
- 39e5993d0d45 ("ima: Shallow copy the args_p member of
ima_rule_entry.lsm elements")
- b8867eedcf76 ("ima: Rename internal filter rule functions")
- f60c826d0318 ("ima: Use kmemdup rather than kmalloc+memcpy")

A patch for kernels prior to commit b16942455193 ("ima: use the lsm
policy
update notifier") will be posted separately.

thanks,

Mimi


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

end of thread, other threads:[~2023-01-04 12:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-21 14:50 Stable backport request Mimi Zohar
2022-12-21 18:22 ` Greg KH
2022-12-21 18:52   ` Mimi Zohar
2023-01-04 12:29     ` Greg KH

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