[PATCH] shm_open/unlink: fix errno if namelen >= NAME_MAX
Florian Weimer
fweimer@redhat.com
Tue Nov 3 16:49:32 GMT 2020
* Adhemerval Zanella:
> Florian has pointed me out a better solution would be use
> use his fix [1] for BZ#25383 [2] which refactor the POSIX sem/shm
> code to use a static buffer instead.
>
> Then the ENAMETOOLONG could be returned by '__shm_get_name'
> instead.
>
> Florian, do you plan to send your patch for review?
I'm working on the change you requested (eliminate the new struct
type). No ETA yet. Hopefully still this month.
Thanks,
Florian
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
More information about the Libc-alpha
mailing list