mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-29 05:51:10 +00:00
e604a5e4bb
Add __nonnull((2)) to the setrlimit()/getrlimit() function declaration to avoid null pointer access. ----- v2 According to the suggestions of the Adhemerval Zanella and Zack Weinberg: use __nonnull() to check null pointers in the compilation phase. do not add pointer check code to setrlimit()/getrlimit(). The validity of the "resource" parameter is checked in the syscall. v1 https://public-inbox.org/libc-alpha/20201230114131.47589-1-nixiaoming@huawei.com/ ----- Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |
||
---|---|---|
.. | ||
auxv.h | ||
bitypes.h | ||
cdefs.h | ||
dir.h | ||
epoll.h | ||
errno.h | ||
fcntl.h | ||
file.h | ||
gmon_out.h | ||
gmon.h | ||
ioctl.h | ||
ipc.h | ||
mman.h | ||
msg.h | ||
param.h | ||
poll.h | ||
prctl.h | ||
profil.h | ||
queue.h | ||
random.h | ||
resource.h | ||
select.h | ||
sem.h | ||
sendfile.h | ||
shm.h | ||
signal.h | ||
single_threaded.h | ||
socket.h | ||
stat.h | ||
statfs.h | ||
statvfs.h | ||
sysinfo.h | ||
syslog.h | ||
sysmacros.h | ||
termios.h | ||
time.h | ||
timeb.h | ||
times.h | ||
ttychars.h | ||
types.h | ||
uio.h | ||
un.h | ||
unistd.h | ||
utsname.h | ||
vfs.h | ||
vlimit.h | ||
wait.h | ||
xattr.h |