CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2026/07/12 16:06:01

Modified files:
        sys/kern       : sysv_msg.c 

Log message:
sysv: Recheck message queue limit after malloc

que_create() allocates with M_WAIT and may sleep after sys_msgget()
checks num_ques against msgmni. The kernel lock is released while the
thread sleeps, allowing concurrent creators to pass the same check and
exceed the queue limit.

OK: mvs@

Reply via email to