xiaoxiang781216 commented on code in PR #20423:
URL: https://github.com/apache/nuttx/pull/20423#discussion_r4154338790


##########
include/sys/syscall_lookup.h:
##########
@@ -367,11 +367,15 @@ SYSCALL_LOOKUP(munlockall,                 0)
 
 #ifndef CONFIG_DISABLE_ENVIRON
   SYSCALL_LOOKUP(get_environ_ptr,          0)
+#  ifdef CONFIG_BUILD_KERNEL
+  SYSCALL_LOOKUP(set_environ_ptr,          1)

Review Comment:
   but the correct fix is moved all environ stuff to userapce, we have a patch 
series do this, will create a new pr soon.



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