LibCore: Expose Unix socket fd transfer limit publicly

This commit is contained in:
Andrew Kaster 2025-05-24 01:17:22 -06:00 committed by Alexander Kalenik
commit 087cbf2b0a
Notes: github-actions[bot] 2025-05-24 16:16:15 +00:00
2 changed files with 7 additions and 5 deletions

View file

@ -352,6 +352,8 @@ public:
virtual ~LocalSocket() { close(); }
static size_t const MAX_TRANSFER_FDS;
private:
explicit LocalSocket(PreventSIGPIPE prevent_sigpipe = PreventSIGPIPE::Yes)
: Socket(prevent_sigpipe)