RTEMS | Draft: libcsupport: Reimplement POSIX passwd and group entry APIs (!1250)
Gedare Bloom (@gedare)
gitlab at rtems.org
Tue May 19 21:42:27 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_150560
> +struct group *getgrnam(const char *name);
> +struct group *getgrgid(gid_t gid);
> +
> +static char *group_align_pointer(char *p)
> {
> - pthread_key_create(&grp_key, free);
> + uintptr_t value;
> +
> + value = (uintptr_t) p;
> + value = (value + sizeof(char *) - 1) & ~((uintptr_t) sizeof(char *) - 1);
> +
> + return (char *) value;
> }
>
> -static grp_context *grp_get_context(void)
> +static int group_is_comment_line(const char *line, size_t linesize)
what is this function doing?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1250#note_150560
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/44f81818/attachment-0001.htm>
More information about the bugs
mailing list