https://bugs.kde.org/show_bug.cgi?id=439090

--- Comment #1 from Olly Betts <ojwbetts+...@gmail.com> ---
I had a go at implementing support for close_range, but ended up out of my
depth.

The problem I have no idea how to solve is what to do if log fds fall in the
middle of the range of fds which are to be closed - looking at other syscall
wrappers, I can see that I can adjust the parameters, but I potentially need to
synthesise multiple close_from calls from one and combine the return codes and
any errno values and I couldn't see any existing examples of that.

I'll attach the patch I have as it's hopefully a useful start for somebody with
more of a clue than me - I've checked it compiles but nothing further.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to