Re: [PATCH 08/16] getrlimit.2: add information about calls affected by RLIMIT_MEMLOCK

From
Eugene Syromyatnikov <hidden>
Date
2021-07-10 19:38:39
Reply to
Alejandro Colomar (man-pages), 2021-07-10
On Sat, Jul 10, 2021 at 8:51 PM Alejandro Colomar (man-pages)
[off-list ref] wrote:
Could you please provide some background on the patch?
Maybe add it to the commit message.
I'd like to be able to review it :)
If I recall correctly, it has been conceived as part of effort to
debug [1], as it wasn't clear (to me) at the time, why the error
occurs; it turned out that the BPF memory, while checked against
per-process RLIMIT_MEMLOCK, accounted on per-user basis. I decided to
go on and find and document all the places the locked memory is
accounted and checked against the limit.
Is the other patch (v2) you sent recently meant to replace this one,
or to complement it?
The other patch is an independent one, so it complements it.
Also, please see some comments below.
Thank you, I'll update the patch and send v2.

[1] https://github.com/strace/strace/issues/74

-- 
Eugene Syromyatnikov
mailto:evgsyr@gmail.com
xmpp:esyr@jabber.{ru|org}
Thread (3 messages) 3 messages, 2 authors, last reply 2021-07-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help