diff options
author | Alexey Kodanev <aleksei.kodanev@bell-sw.com> | 2021-06-29 16:31:30 +0300 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2022-03-08 17:15:14 -0500 |
commit | 3aba2150d0efc80df30d7fc6c22d6041e14d445e (patch) | |
tree | 3a419d0ed075b26521d99b34356fa12c7d660fca /src/malloc/reallocarray.c | |
parent | 74a28a8af21977ebbc2945beb879f1b9b6ff13ba (diff) | |
download | musl-3aba2150d0efc80df30d7fc6c22d6041e14d445e.tar.gz musl-3aba2150d0efc80df30d7fc6c22d6041e14d445e.tar.bz2 musl-3aba2150d0efc80df30d7fc6c22d6041e14d445e.tar.xz musl-3aba2150d0efc80df30d7fc6c22d6041e14d445e.zip |
nice: return EPERM instead of EACCES
To comply with POSIX, change errno from EACCES to EPERM
when the caller did not have the required privilege.
Diffstat (limited to 'src/malloc/reallocarray.c')
0 files changed, 0 insertions, 0 deletions