Skip to content

Avoid socket listening error

Stefano Aloé requested to merge stefanoaloe/kwallet-pam:fix_bug400929 into master

Closing all file descriptor above 3 is causing problem to socket() and listen(). Setting FD_CLOEXEC on them solves the problem and should have exactly the same behavior. For a more detailed explanation of the error see my comment here.

BUG: 400929

Merge request reports