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,6 +1733,10 @@ 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">
|
||||||
|
@ -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