From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: Why return E2BIG from bpf map update? Date: Tue, 21 Jul 2015 14:34:39 -0700 Message-ID: <55AEBAEF.8090707@plumgrid.com> References: <55AD7514.7040906@plumgrid.com> <55AE1374.6010608@iogearbox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: netdev To: Alex Gartrell , Daniel Borkmann Return-path: Received: from mail-qk0-f177.google.com ([209.85.220.177]:36346 "EHLO mail-qk0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752203AbbGUVel (ORCPT ); Tue, 21 Jul 2015 17:34:41 -0400 Received: by qkdv3 with SMTP id v3so142059228qkd.3 for ; Tue, 21 Jul 2015 14:34:40 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 7/21/15 3:13 AM, Alex Gartrell wrote: > But, the EINVAL errno has similarly been > abused to death there was a thread few month ago trying to come up with a generic solution for aliased error codes, but unfortunately nothing concrete came out of it. The one I liked sounded that the kernel may be able to extend syscall interface to return a string together with errno, but it's quite hard to do at present. May be extensions to vdso data writable by kernel can improve the situation.