mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
7e66ee5142
Declare with warn_unused_result. (setgid, setregid, setegid, setresgid): Likewise. * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid): Likewise. * WUR-REPORT: Remove set*id functions.
35 lines
828 B
Plaintext
35 lines
828 B
Plaintext
<unistd.h>:
|
|
|
|
lssek: Probably should be __wur but lseek(fd,SEEK_SET,0) will succeed if
|
|
the descriptor is fine.
|
|
lseek64: same
|
|
|
|
<stdio.h>:
|
|
|
|
setvbuf: if stream and buffer are fine and other parameters constant,
|
|
it cannot really fail.
|
|
fseek: see lseek
|
|
fseeko: likewise
|
|
fgetpos: similarly
|
|
fsetpos: likewise
|
|
|
|
|
|
<stdlib.h>:
|
|
|
|
atexit: it is guaranteed that a certain number of handlers can be
|
|
registered, so some calls might need not be checked
|
|
on_exit: same
|
|
random functions: one might want to discard a number of results. In any
|
|
case, no security problem
|
|
|
|
|
|
putenv: probably SHOULD be marked, but we'll wait a bit.
|
|
setenv: likewise
|
|
unsetenv: likewise
|
|
clearenv: likewise
|
|
|
|
mbstowcs: probably SHOULD be marked
|
|
wcstombs: likewise
|
|
|
|
ptsname_r: probably SHOULD be marked
|