RTEMS | Draft: libcsupport: Reimplement POSIX passwd and group entry APIs (!1250)
Gedare Bloom (@gedare)
gitlab at rtems.org
Tue May 19 21:39:25 UTC 2026
Gedare Bloom started a new discussion on cpukit/libcsupport/src/getgrent.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1250#note_150558
> +};
>
> -static pthread_once_t grp_once = PTHREAD_ONCE_INIT;
> +typedef enum {
> + GROUP_LOOKUP_ALL,
> + GROUP_LOOKUP_NAME,
> + GROUP_LOOKUP_GID
> +} group_lookup_type;
>
> -static pthread_key_t grp_key;
> +union group_key {
> + const char *name;
> + gid_t gid;
> +};
> +void setgrent(void);
> +void endgrent(void);
these should come in from a header file
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1250#note_150558
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260519/e810dd8d/attachment-0001.htm>
More information about the bugs
mailing list