patacongo commented on code in PR #8924:
URL: https://github.com/apache/nuttx/pull/8924#discussion_r1152195979


##########
binfmt/builtin.c:
##########
@@ -106,6 +106,8 @@ static int builtin_loadbinary(FAR struct binary_s *binp,
   binp->entrypt   = builtin->main;
   binp->stacksize = builtin->stacksize;
   binp->priority  = builtin->priority;
+  binp->proguid   = builtin->proguid;
+

Review Comment:
   It looks like proguid is not really used by the OS.  It just a holder.  It 
is part of application logic and, hence, does not belong deep inside the OS.  
We do not, in general, support internal OS changes to support 
application-specific things.
   
   If you just need thread-specific storage, I would suggest that you use TLS 
to support and thread-specific information that you might want to retain.
   
   If you are trying to emulate ST_NOSUID behaviors, then should the group ID 
also be set to match the emulated file identification?



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to