Skip to content

Commit b82bdb2

Browse files
committed
Correct library info for shmctl to avoid false positives
1 parent fd67ca1 commit b82bdb2

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

cfg/posix.cfg

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2642,7 +2642,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
26422642
<not-uninit/>
26432643
</arg>
26442644
</function>
2645-
<!-- http://man7.org/linux/man-pages/man2/shmctl.2.html -->
2645+
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/shmctl.html -->
26462646
<!-- int shmctl(int shmid, int cmd, struct shmid_ds *buf); -->
26472647
<function name="shmctl">
26482648
<noreturn>false</noreturn>
@@ -2653,11 +2653,8 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
26532653
<arg nr="2">
26542654
<not-uninit/>
26552655
</arg>
2656-
<arg nr="3">
2657-
<not-null/>
2658-
</arg>
26592656
</function>
2660-
<!-- http://man7.org/linux/man-pages/man2/shmget.2.html -->
2657+
<!-- http://pubs.opengroup.org/onlinepubs/009695399/functions/shmget.html -->
26612658
<!-- int shmget(key_t key, size_t size, int shmflg); -->
26622659
<function name="shmget">
26632660
<noreturn>false</noreturn>

0 commit comments

Comments
 (0)