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">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="5"/>
|
||||
</function>
|
||||
<!-- struct passwd *getpwuid(uid_t uid); -->
|
||||
<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 **); -->
|
||||
<function name="getpwuid_r">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="4"/>
|
||||
</function>
|
||||
<!-- void setpwent(void); -->
|
||||
<function name="setpwent">
|
||||
|
@ -2542,6 +2547,16 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
|||
<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>
|
||||
</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); -->
|
||||
<function name="fgetgrent">
|
||||
<use-retval/>
|
||||
|
|
Loading…
Reference in New Issue