]>
Commit | Line | Data |
---|---|---|
5cf53cc2 UD |
1 | <unistd.h>: |
2 | ||
3 | lssek: Probably should be __wur but lseek(fd,SEEK_SET,0) will succeed if | |
4 | the descriptor is fine. | |
5 | lseek64: same | |
6 | ||
7 | setuid: will always succeed given correct privileges, so there might | |
8 | be places which don't check for it. | |
9 | setreuid: same | |
10 | seteuid: same | |
11 | setgid: same | |
12 | setregid: same | |
13 | setegid: same | |
14 | setresuid: same | |
15 | setresgid: same | |
16 | ||
17 | ||
18 | <stdio.h>: | |
19 | ||
20 | setvbuf: if stream and buffer are fine and other parameters constant, | |
21 | it cannot really fail. | |
22 | fseek: see lseek | |
23 | fseeko: likewise | |
24 | fgetpos: similarly | |
25 | fsetpos: likewise | |
4d37c8aa UD |
26 | |
27 | ||
28 | <stdlib.h>: | |
29 | ||
38cbcf0a | 30 | atexit: it is guaranteed that a certain number of handlers can be |
4d37c8aa UD |
31 | registered, so some calls might need not be checked |
32 | on_exit: same | |
33 | random functions: one might want to discard a number of results. In any | |
34 | case, no security problem | |
35 | ||
36 | ||
37 | putenv: probably SHOULD be marked, but we'll wait a bit. | |
38 | setenv: likewise | |
39 | unsetenv: likewise | |
40 | clearenv: likewise | |
41 | ||
42 | mbstowcs: probably SHOULD be marked | |
43 | wcstombs: likewise | |
44 | ||
45 | ptsname_r: probably SHOULD be marked |