RTEMS | Shell Initialisers Missing mode, uid, and gid (#5374)
Joel Sherrill (@joel)
gitlab at rtems.org
Sun Oct 12 16:07:34 UTC 2025
Joel Sherrill created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5374
## Summary
Many of the shell's command structures are generating missing field initialiser warnings. The structure _rtems_shell_cmd_t_ has these fields which are not initialised by many/most of the shell commands:
```
mode_t mode;
uid_t uid;
gid_t gid;
```
Any suggestions on what to initialize them to? They must be being set to 0 now.
Do we want constants like SHELL_DEFAULT_COMMAND_MODE, etc.? And those be 0?
## Steps to reproduce
<!-- Pre-set options
- milestone
-->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5374
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/20251012/f95957f6/attachment.htm>
More information about the bugs
mailing list