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>