Update posix.cfg

Remove <use-retval/> for setuid,seteuid,setgid,setegid

See 0a6babea74 (r42822000)
This commit is contained in:
amai2012 2020-09-30 09:50:44 +02:00 committed by GitHub
parent a39e5835d4
commit ff7cd433be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -2334,7 +2334,6 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</function> </function>
<!-- int setuid(uid_t uid); --> <!-- int setuid(uid_t uid); -->
<function name="setuid"> <function name="setuid">
<use-retval/>
<returnValue type="int"/> <returnValue type="int"/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
@ -2345,7 +2344,6 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</function> </function>
<!-- int seteuid(uid_t euid); --> <!-- int seteuid(uid_t euid); -->
<function name="seteuid"> <function name="seteuid">
<use-retval/>
<returnValue type="int"/> <returnValue type="int"/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
@ -2356,7 +2354,6 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</function> </function>
<!-- int setgid(gid_t gid); --> <!-- int setgid(gid_t gid); -->
<function name="setgid"> <function name="setgid">
<use-retval/>
<returnValue type="int"/> <returnValue type="int"/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
@ -2367,7 +2364,6 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</function> </function>
<!-- int setegid(gid_t egid); --> <!-- int setegid(gid_t egid); -->
<function name="setegid"> <function name="setegid">
<use-retval/>
<returnValue type="int"/> <returnValue type="int"/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>