[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150126.233938.513240875461315013.davem@davemloft.net>
Date: Mon, 26 Jan 2015 23:39:38 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: fan.du@...el.com
Cc: steffen.klassert@...unet.com, herbert@...dor.apana.org.au,
netdev@...r.kernel.org, fengyuleidian0615@...il.com
Subject: Re: [PATCH ipsec-next] xfrm: Do not parse 32bits compiled xfrm
netlink msg on 64bits host
From: Fan Du <fan.du@...el.com>
Date: Tue, 27 Jan 2015 10:54:22 +0800
> @@ -2419,6 +2419,11 @@ static int xfrm_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
> const struct xfrm_link *link;
> int type, err;
>
> +#ifdef CONFIG_COMPAT
> + if (is_compat_task())
> + return -EPERM;
> +#endif
> +
This seems more like an unsupported operation rather then a permission
problem.
--
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