acassis commented on code in PR #9513:
URL: https://github.com/apache/nuttx/pull/9513#discussion_r1233069451
##########
libs/libc/misc/lib_memfd.c:
##########
@@ -45,7 +45,9 @@
int memfd_create(FAR const char *name, unsigned int flags)
{
-#ifdef CONFIG_FS_TMPFS
+#if defined(CONFIG_FS_SHMFS)
+ return shm_open(name, O_RDWR | flags, 0660);
+#elif defined(CONFIG_FS_TMPFS)
Review Comment:
ping @xiaoxiang781216
--
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]