Thread (4 messages) flat view 4 messages, 3 authors, 2006-09-18

Re: [PATCH 7/7] secid reconciliation-v02: Enforcement for SELinux

From: James Morris <jmorris@namei.org>
Date: 2006-09-18 18:37:44
Also in: selinux

On Fri, 8 Sep 2006, Venkat Yekkirala wrote:
+	if (selinux_compat_net) {
+		err = selinux_xfrm_decode_session(skb, &peersid, 0);
+		BUG_ON(err);
I'm pretty sure this should not be a BUG_ON.  IIUC, you want to panic the 
kernel because one of the nested SAs has a different security context.
+	err = selinux_xfrm_decode_session(skb, &xfrm_sid, 0);
+	BUG_ON(err);
Same.


-- 
James Morris
[off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help