posix.cfg: added/updated getpwnam_r(), getgrent_r() and getpwuid_r().
This commit is contained in:
parent
d2e667ae7b
commit
466068f55d
|
@ -1719,6 +1719,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
|
<arg nr="5"/>
|
||||||
</function>
|
</function>
|
||||||
<!-- struct passwd *getpwuid(uid_t uid); -->
|
<!-- struct passwd *getpwuid(uid_t uid); -->
|
||||||
<function name="getpwuid">
|
<function name="getpwuid">
|
||||||
|
@ -1732,19 +1733,23 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<!-- int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **); -->
|
<!-- int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **); -->
|
||||||
<function name="getpwuid_r">
|
<function name="getpwuid_r">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="4"/>
|
||||||
</function>
|
</function>
|
||||||
<!-- void setpwent(void); -->
|
<!-- void setpwent(void); -->
|
||||||
<function name="setpwent">
|
<function name="setpwent">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
</function>
|
</function>
|
||||||
<!-- int catclose(nl_catd); -->
|
<!-- int catclose(nl_catd); -->
|
||||||
<function name="catclose">
|
<function name="catclose">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
<!-- char *catgets(nl_catd, int, int, const char *); -->
|
<!-- char *catgets(nl_catd, int, int, const char *); -->
|
||||||
<function name="catgets">
|
<function name="catgets">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
@ -1761,7 +1766,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
<!-- nl_catd catopen(const char *, int); -->
|
<!-- nl_catd catopen(const char *, int); -->
|
||||||
<function name="catopen">
|
<function name="catopen">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -2001,7 +2006,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
<!-- http://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdlib.h.html -->
|
<!-- http://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdlib.h.html -->
|
||||||
<!-- double drand48(void); -->
|
<!-- double drand48(void); -->
|
||||||
<function name="drand48">
|
<function name="drand48">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
@ -2542,6 +2547,16 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<warn severity="portability">Non reentrant function 'getgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrent_r'.</warn>
|
<warn severity="portability">Non reentrant function 'getgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrent_r'.</warn>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int getgrent_r(struct group *gbuf, char *buf, size_t buflen, struct group **gbufp) -->
|
||||||
|
<function name="getgrent_r">
|
||||||
|
<use-retval/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="4"/>
|
||||||
|
</function>
|
||||||
<!-- struct group *fgetgrent(FILE *stream); -->
|
<!-- struct group *fgetgrent(FILE *stream); -->
|
||||||
<function name="fgetgrent">
|
<function name="fgetgrent">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
|
Loading…
Reference in New Issue