mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-23 01:39:55 +00:00
Because of the way sockets are implemented, a local socket object inside pflocal has little to do with the filesystem node that has an ifsock translator sitting on it; and the latter doesn't even exist until you bind() the socket. So it's not possible to set the socket's mode using Unix-level APIs (other than by temporarily changing umask). It's still possible to do this with Mach-level APIs, essentially doing the same thing as glibc's bind() implementation does, but supplying the desired mode instead of 0666, but let's not go there.
7.8 KiB
7.8 KiB