diff options
author | Rich Felker <dalias@aerifal.cx> | 2022-08-26 11:34:46 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2022-08-26 11:34:46 -0400 |
commit | 996b6154b20184c3b08cce28eb01edb7f47e9413 (patch) | |
tree | 3db80b6e5da61f809baf98899a4d69b8e3103cfc /src/stdio/fgetln.c | |
parent | 25340a93375fc6d3324ab65c154edbf8d1701801 (diff) | |
download | musl-996b6154b20184c3b08cce28eb01edb7f47e9413.tar.gz musl-996b6154b20184c3b08cce28eb01edb7f47e9413.tar.bz2 musl-996b6154b20184c3b08cce28eb01edb7f47e9413.tar.xz musl-996b6154b20184c3b08cce28eb01edb7f47e9413.zip |
use kernel-provided AT_MINSIGSTKSZ for sysconf(_SC_[MIN]SIGSTKSZ)
use the legacy constant values if the kernel does not provide
AT_MINSIGSTKSZ (__getauxval will return 0 in this case) and as a
safety check if something is wrong and the provided value is less than
the legacy constant.
sysconf(_SC_SIGSTKSZ) returns SIGSTKSZ adjusted for the difference
between the legacy constant MINSIGSTKSZ and the runtime value, so that
the working space the application has on top of the minimum remains
invariant under changes to the minimum.
Diffstat (limited to 'src/stdio/fgetln.c')
0 files changed, 0 insertions, 0 deletions