anchao commented on code in PR #9260:
URL: https://github.com/apache/nuttx/pull/9260#discussion_r1193126783
##########
libs/libc/dirent/lib_opendir.c:
##########
@@ -83,5 +91,12 @@ FAR DIR *opendir(FAR const char *path)
}
dir->fd = fd;
+
+#ifdef CONFIG_FDSAN
+ tag = android_fdsan_create_owner_tag(ANDROID_FDSAN_OWNER_TYPE_DIR,
Review Comment:
```
#ifdef CONFIG_FDSAN
android_fdsan_exchange_owner_tag(fd, 0,
android_fdsan_create_owner_tag(ANDROID_FDSAN_OWNER_TYPE_DIR,
(uintptr_t)dir););
#endif
```
--
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]