Skip to content
Commit 318e8b12 authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

ksmserver: never allow ICE connections to exhaust RLIMIT_NOFILE

At most use `RLIMIT_NOFILE - 128`; the remainder is reserved for other
uses like invoking the lock screen, other sockets etc.

to implement this there's a trivial ref count on KSMConnection. When too
many references are active we'll force close connections again right
after creation

BUG: 475506
parent 32b1cbde
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment