posix.cfg: Improved configuration by using <valid>-tags.

This commit is contained in:
orbitcowboy 2016-12-05 10:30:11 +01:00
parent 9b611f5351
commit 7522b1b108
1 changed files with 27 additions and 0 deletions

View File

@ -339,12 +339,14 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
<not-uninit/>
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/alarm.2.html -->
<!-- unsigned int alarm(unsigned int seconds); -->
<function name="alarm">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!-- struct rpcent *getrpcent(void); -->
@ -579,6 +581,7 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
</arg>
<arg nr="2">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!-- wchar_t *wcsdup(const wchar_t *s); -->
@ -628,6 +631,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="2">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!-- int mkdir(const char *pathname, mode_t mode); -->
@ -918,6 +922,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="3">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!-- long int fpathconf(int fildes, int name); -->
@ -1058,6 +1063,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="3">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!-- ssize_t write(int fildes, const void *buf, size_t nbyte); -->
@ -1146,6 +1152,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="2">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="3">
<not-uninit/>
@ -1170,6 +1177,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="2">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="3">
<not-uninit/>
@ -1193,6 +1201,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="2">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!-- void openlog(const char *ident, int option, int facility); -->
@ -1722,6 +1731,10 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="5"/>
</function>
<!-- struct passwd *getpwuid(uid_t uid); -->
@ -1741,6 +1754,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="4">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="5"/>
</function>
@ -1821,6 +1835,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="4">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!-- int regexec(const regex_t *, const char *, size_t, regmatch_t [restrict], int); -->
@ -1836,6 +1851,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="3">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="4">
<not-uninit/>
@ -2108,6 +2124,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="3">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!-- int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz); -->
@ -2126,6 +2143,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="4">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!-- char *asctime_r(const struct tm *tm, char *buf); -->
@ -2311,6 +2329,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="3">
<not-uninit/>
<valid>0:</valid>
</arg>
<warn severity="style" reason="Obsolescent" alternatives="memcpy,memmove"/>
</function>
@ -2329,6 +2348,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="3">
<not-uninit/>
<valid>0:</valid>
</arg>
<warn severity="style" reason="Obsolescent" alternatives="memcmp"/>
</function>
@ -2341,6 +2361,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="2">
<not-uninit/>
<valid>0:</valid>
</arg>
<warn severity="style" reason="Obsolescent" alternatives="memset"/>
</function>
@ -2561,6 +2582,10 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="4"/>
</function>
<!-- struct group *fgetgrent(FILE *stream); -->
@ -2723,6 +2748,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="2">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/ffs.3.html -->
@ -2757,6 +2783,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</arg>
<arg nr="2">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="3">
<not-uninit/>