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


##########
binfmt/binfmt_execmodule.c:
##########
@@ -266,6 +266,10 @@ int exec_module(FAR struct binary_s *binp,
 
   pid = tcb->cmn.pid;
 
+#ifdef CONFIG_SCHED_USER_IDENTITY
+  tcb->cmn.group->tg_uid = binp->proguid;

Review Comment:
   I think that is depended on the fork and setuid policy from app. But we can 
set a default UID when task is creating.  



-- 
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