Abhishekmishra2808 commented on code in PR #19900: URL: https://github.com/apache/nuttx/pull/19900#discussion_r3887466110
########## fs/inode/fs_inodesearch.c: ########## @@ -676,6 +794,50 @@ static FAR const char *_inode_getcwd(void) * Public Functions ****************************************************************************/ +#ifdef CONFIG_FS_CHROOT +/**************************************************************************** + * Name: inode_chroot_hostpath + * + * Description: + * Convert 'path' to a host absolute path under the calling group's jail: + * make it absolute via $PWD if needed, prepend tg_root, canonicalize, + * and keep the result under the jail. With no jail, only make absolute + * and canonicalize. + * + ****************************************************************************/ + +int inode_chroot_hostpath(FAR const char *path, FAR char *out, Review Comment: Fixed -- 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]
