jerpelea opened a new pull request, #19158:
URL: https://github.com/apache/nuttx/pull/19158

   ## Summary
   
   Adds tg_suid and tg_sgid fields to task_group_s to complete the POSIX 
three-field identity model (real, effective, saved-set). Updates 
group_inherit_identity() to propagate the new fields from parent to child task 
group on task creation.
   
   Fixes setuid(), setgid(), seteuid(), and setegid() to implement correct 
POSIX privilege transition logic:
   
       Root (euid==0): may set any value; all three IDs updated by setuid/setgid
       Non-root: may only set effective ID to real or saved value; else EPERM
   
   ## Impact
   
   RELEASE
   
   ## Testing
   
   CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to