mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
c2e1aa281d
Follow the POSIX specification in https://pubs.opengroup.org/onlinepubs/9699919799/functions/sem_open.html, update the logic for condition that the semaphore name length is greater than PATH_MAX or a component length is greater than NAME_MAX. Signed-off-by: yangjiao <yangjiao@xiaomi.com>