nuttx/libs/libc/semaphore
tengshuangshuang 1a9eb4e12a sem_open:add check for args(name)
A call to sem_open() when the operation is not supported for name
shall return SEM_FAILED and set errno to EINVAL.
https://man7.org/linux/man-pages/man7/sem_overview.7.html:
A named semaphore is identified by a name of the form
/somename; that is, a null-terminated string of up to
NAME_MAX-4 (i.e., 251) characters consisting of an initial
slash, followed by one or more characters, none of which
are slashes.
And CONFIG_SEM_NAME_REQUIRE_LEADING_SLASH was also implemented to ensure compatibility because many parts of the project used non-standard name parameters.

Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
2026-04-21 01:33:59 +08:00
..
CMakeLists.txt arch/x86_64: Resolving NUC Boot Failure Issue 2026-04-21 01:11:24 +08:00
Make.defs Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
sem_clockwait.c Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
sem_close.c Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
sem_destroy.c Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
sem_getprioceiling.c Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
sem_getprotocol.c Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
sem_getvalue.c sem: inline nxsem_wait_uninterruptible and nxsem_get_value 2026-04-21 01:32:44 +08:00
sem_init.c Integrate nxmutex support fully into nxsem 2026-04-21 01:23:17 +08:00
sem_open.c sem_open:add check for args(name) 2026-04-21 01:33:59 +08:00
sem_post.c sem: inline semaphore 2026-04-21 01:32:28 +08:00
sem_setprioceiling.c Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
sem_setprotocol.c Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
sem_timedwait.c Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
sem_trywait.c sem: inline nxsem_trywait 2026-04-21 01:32:30 +08:00
sem_unlink.c Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
sem_wait.c sem: inline nxsem_wait_uninterruptible and nxsem_get_value 2026-04-21 01:32:44 +08:00