RTEMS | Draft: cpukit/age_verify: Add optional state-mandated age verification API (!1137)

Wayne Thornton (@wmthornton-dev) gitlab at rtems.org
Mon Mar 16 15:12:01 UTC 2026




Wayne Thornton commented on a discussion on cpukit/include/rtems/age_verify.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1137#note_145720

 > +#endif
 > +
 > +// These age brackets are arbitrary and can be changed as needed to comply with the law of different regions.
 > +// Ultimately, I think that we could even just have a single "over 18" bracket, but this allows for a little more
 > +// granularity if desired. Changes to the rtems_age_set_bracket logic in age_verify.c would be needed if this occurs.
 > +typedef enum {
 > +  AGE_UNDER_13 = 0,
 > +  AGE_13_TO_18 = 1,
 > +  AGE_18_TO_24 = 2,
 > +  AGE_OVER_24  = 3
 > +} rtems_age_bracket;
 > +
 > +// Called by OS or application setup process (verification request)
 > +rtems_status_code rtems_age_set_bracket(rtems_age_bracket bracket);
 > +
 > +// Called by applications (the signal)

I will correct that.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1137#note_145720
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/20260316/d5a57896/attachment.htm>


More information about the bugs mailing list