mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 08:12:27 -04:00
When bind() is called, the process umask is applied, so one has to
either clear the umask before binding or call chmod() to add permissions
after the fact. Do the former here to ensure that the socket always has
the correct mode.
Reported by: Lexi Winter <lexi@le-fay.org>
Fixes:
|
||
|---|---|---|
| .. | ||
| tests | ||
| ftp.conf | ||
| lpr.conf | ||
| Makefile | ||
| Makefile.depend | ||
| pathnames.h | ||
| ppp.conf | ||
| syslog.conf | ||
| syslog.conf.5 | ||
| syslogd.8 | ||
| syslogd.c | ||