[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1394192659-10764-1-git-send-email-nikolay@redhat.com>
Date: Fri, 7 Mar 2014 12:44:17 +0100
From: Nikolay Aleksandrov <nikolay@...hat.com>
To: netdev@...r.kernel.org
Cc: Nikolay Aleksandrov <nikolay@...hat.com>,
Paul Moore <paul@...l-moore.com>,
Dave Jones <davej@...hat.com>,
Steffen Klassert <steffen.klassert@...unet.com>,
Fan Du <fan.du@...driver.com>,
"David S. Miller" <davem@...emloft.net>
Subject: [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
CC: Paul Moore <paul@...l-moore.com>
CC: Dave Jones <davej@...hat.com>
CC: Steffen Klassert <steffen.klassert@...unet.com>
CC: Fan Du <fan.du@...driver.com>
CC: David S. Miller <davem@...emloft.net>
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(-)
--
1.8.5.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists