[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7e23f4d2-7cc5-9976-dead-ad2e993015ab@fb.com>
Date: Tue, 12 May 2020 07:26:47 -0700
From: Yonghong Song <yhs@...com>
To: Eelco Chaudron <echaudro@...hat.com>, <bpf@...r.kernel.org>
CC: <davem@...emloft.net>, <netdev@...r.kernel.org>, <ast@...nel.org>,
<daniel@...earbox.net>, <kafai@...com>, <songliubraving@...com>,
<andriin@...com>, <toke@...hat.com>
Subject: Re: [PATCH bpf-next v4] libbpf: fix probe code to return EPERM if
encountered
On 5/12/20 2:04 AM, Eelco Chaudron wrote:
> When the probe code was failing for any reason ENOTSUP was returned, even
> if this was due to no having enough lock space. This patch fixes this by
> returning EPERM to the user application, so it can respond and increase
> the RLIMIT_MEMLOCK size.
>
> Signed-off-by: Eelco Chaudron <echaudro@...hat.com>
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists