std.cfg: Added support for temnam_s; posix.cfg: Added support for fchmod.

This commit is contained in:
orbitcowboy 2016-08-09 11:07:14 +02:00
parent bd21cd7c85
commit db5e40b870
2 changed files with 22 additions and 0 deletions

View File

@ -746,6 +746,17 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<not-uninit/>
</arg>
</function>
<!-- int fchmod(int fildes, mode_t mode); -->
<function name="fchmod">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<!-- int chown(const char *path, uid_t owner, gid_t group); -->
<function name="chown">
<noreturn>false</noreturn>

View File

@ -3499,6 +3499,17 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<not-uninit/>
</arg>
</function>
<!-- errno_t tmpnam_s(char *filename_s, rsize_t maxsize); -->
<function name="tmpnam_s">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<!-- FILE *tmpfile(void); -->
<function name="tmpfile">
<use-retval/>