af_key: fixes for sleeping while atomic
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v12 patches 6 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: af_key: fix sleeping under rcunet/ | +7 | 0 replies | |
| 2/2 | selinux: add gfp argument to security_xfrm_policy_alloc and fix callersinclude/ net/ net/ +8 more | +59 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Paul Moore |
|---|---|
| 1/2 | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv2 0/2] af_key: fixes for sleeping while atomic
Hi,
The first patch takes care of the issue on the af_key side, and the second one fixes it on the selinux side (security_xfrm_policy_alloc). There're a few lines >80 but they were already long, I'm not sure if breaking them above the limit would make them more readable than they already are. The v2 is because Paul caught a place which could do GFP_KERNEL allocation from xfrm_policy_alloc_user, so I've adjusted that too.
Best regards,
Nikolay Aleksandrov
Nikolay Aleksandrov (2):
net: af_key: fix sleeping under rcu
selinux: add gfp argument to security_xfrm_policy_alloc and fix
callers
include/linux/security.h | 10 +++++++--- net/key/af_key.c | 19 ++++++++++--------- net/xfrm/xfrm_user.c | 6 +++--- security/capability.c | 3 ++- security/security.c | 6 ++++-- security/selinux/hooks.c | 13 +++++++------ security/selinux/include/security.h | 2 +- security/selinux/include/xfrm.h | 3 ++- security/selinux/selinuxfs.c | 28 ++++++++++++++++++---------- security/selinux/ss/services.c | 6 ++++-- security/selinux/xfrm.c | 14 ++++++++------ 11 files changed, 66 insertions(+), 44 deletions(-)
Signature · 1 line
1.8.5.3