musl/include
Rich Felker dd1e63c363 syslog: revert LOG_FAC/LOG_FACMASK changes
commit 895736d49b made these changes
along with fixing a real bug in LOG_MAKEPRI. based on further
information, they do not seem to be well-motivated or in line with
policy.

the result of LOG_FAC is not a meaningful facility value if we shift
it down like before, but apparently the way it is used by applications
is as an index into an array of facility names. moreover, all
historical systems which define it do so with the shift. as it is a
nonstandard interface, there is no justification for providing a macro
by the same name that is incompatible with historical practice.

the value of LOG_FACMASK likewise is 0x3f8 on all historical systems
checked. while only 5 bits are used for existing facility codes, the
convention seems to be that all 7 bits belong to the facility field
and theoretically could be used to expand to having more facilities.
that seems unlikely to happen, but there is no reason to make a
gratuitously incompatible change here.
2024-07-05 13:22:25 -04:00
..
arpa arpa/nameser.h: update RR types list 2022-09-22 18:44:44 -04:00
net
netinet netinet/in.h: add INADDR_DUMMY from linux v5.13 2022-03-08 17:21:26 -05:00
netpacket add PACKET_IGNORE_OUTGOING sockopt from linux v4.20 2019-03-13 12:32:19 -04:00
scsi
sys sys/epoll.h: add epoll ioctls 2024-06-22 16:53:06 -04:00
aio.h remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE 2022-10-19 14:01:31 -04:00
alloca.h unconditonally define alloca as __builtin_alloca 2020-01-01 15:07:11 -05:00
alltypes.h.in fix regression with applications that expect struct winsize in ioctl.h 2020-08-30 16:47:40 -04:00
ar.h
assert.h
byteswap.h
complex.h
cpio.h
crypt.h
ctype.h suppress isascii() macro for C++ 2021-02-25 16:35:54 -05:00
dirent.h implement posix_getdents adopted for next issue of POSIX 2024-05-08 08:50:03 -04:00
dlfcn.h add time64 redirect for, and redirecting implementation of, dlsym 2019-11-02 18:30:56 -04:00
elf.h add loongarch64 port 2024-02-16 09:33:10 -05:00
endian.h make endian.h expose unprefixed macros, functions in standard profile 2019-10-17 16:26:22 -04:00
err.h
errno.h
fcntl.h move fallocate64 declaration under _LARGEFILE64_SOURCE feature test 2023-05-02 11:45:28 -04:00
features.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
fenv.h
float.h
fmtmsg.h
fnmatch.h
ftw.h remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE 2022-10-19 14:01:31 -04:00
getopt.h
glob.h remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE 2022-10-19 14:01:31 -04:00
grp.h
iconv.h
ifaddrs.h
inttypes.h
iso646.h
langinfo.h
lastlog.h
libgen.h
libintl.h
limits.h move struct dirent to bits header, allow NAME_MAX to vary 2020-01-25 23:08:55 -05:00
link.h
locale.h define NULL as nullptr when used in C++11 or later 2021-11-29 17:45:21 -05:00
malloc.h
math.h define FP_FAST_FMA* when fma* can be inlined 2019-04-17 13:02:47 -04:00
memory.h
mntent.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
monetary.h
mqueue.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
netdb.h getaddrinfo: add EAI_NODATA error code to distinguish NODATA vs NxDomain 2022-09-20 18:09:42 -04:00
nl_types.h
paths.h
poll.h fix erroneous feature test macro check for ppoll 2024-02-08 21:57:38 -05:00
pthread.h add pthread_getname_np function 2021-04-20 15:34:30 -04:00
pty.h
pwd.h
regex.h
resolv.h
sched.h fix incorrect unit for CPU_SETSIZE macro 2023-02-23 10:10:44 -05:00
search.h
semaphore.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
setjmp.h guard against compilers failing to handle setjmp specially by default 2021-02-22 15:52:21 -05:00
shadow.h
signal.h signal.h: add new sa_flags from linux v5.11 2022-03-08 17:19:49 -05:00
spawn.h add posix_spawn [f]chdir file actions 2019-08-30 16:21:36 -04:00
stdalign.h
stdarg.h
stdbool.h
stdc-predef.h switch __STDC_UTF_{16,32}__ macro definitions from #undef to #ifndef 2024-02-26 14:14:08 -05:00
stddef.h define NULL as nullptr when used in C++11 or later 2021-11-29 17:45:21 -05:00
stdint.h
stdio.h add renameat2 linux syscall wrapper 2024-05-23 09:13:49 -04:00
stdio_ext.h
stdlib.h fix integer overflow in WIFSTOPPED macro 2023-02-08 16:42:28 -05:00
stdnoreturn.h
string.h remove non-prototype declaration of basename from string.h 2023-11-06 08:26:19 -05:00
strings.h fix strings.h feature test macro usage due to missing features.h 2022-08-01 13:57:11 -04:00
stropts.h
syscall.h
sysexits.h
syslog.h syslog: revert LOG_FAC/LOG_FACMASK changes 2024-07-05 13:22:25 -04:00
tar.h expose TSVTX unconditionally in tar.h 2019-03-13 10:42:57 -04:00
termios.h fix regression with applications that expect struct winsize in ioctl.h 2020-08-30 16:47:40 -04:00
tgmath.h
threads.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
time.h define NULL as nullptr when used in C++11 or later 2021-11-29 17:45:21 -05:00
uchar.h
ucontext.h fix signature of function accepted by makecontext 2019-04-05 17:29:00 -04:00
ulimit.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
unistd.h unistd.h: derive ILP32/LP64 macros from __LONG_MAX instead of arch bits 2024-05-07 09:01:47 -04:00
utime.h add time64 symbol name redirects to public headers, under arch control 2019-10-28 19:26:52 -04:00
utmp.h
utmpx.h adjust utmpx struct layout for time64, 32-/64-bit arch compat 2019-12-22 12:37:16 -05:00
values.h
wait.h
wchar.h define NULL as nullptr when used in C++11 or later 2021-11-29 17:45:21 -05:00
wctype.h
wordexp.h