Abhishekmishra2808 commented on code in PR #19900: URL: https://github.com/apache/nuttx/pull/19900#discussion_r3814380007
########## Documentation/implementation/chroot.rst: ########## @@ -0,0 +1,88 @@ +.. _chroot: + +====== +chroot +====== + +``chroot()`` is a kernel-enforced filesystem jail. When +``CONFIG_FS_CHROOT`` is enabled, each task group may pin a directory as +its root. Absolute path lookup starts there, so the group cannot see +files outside that tree. + +This is **not** a container. NuttX does not provide PID, mount, or +network namespaces. ``chroot()`` only changes where pathname lookup +begins. Review Comment: Correct ! -- 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]
