From d8a91555127ade80dfe71e2d9c823c7350eea05f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 20 Apr 2001 21:11:25 +0000 Subject: 2001-04-20 Correo Fernando-ruiz * include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c: Private environment and chroot() enhancements and fixes. Comments: + privateenv has been modified to let at chroot() to be more POSIX like Sergei Organov recommended. + A task owner lets that rtems_set_private_env() will be called twice or more times. + chroot() can be called without a previous rtems_set_private_env(); (transpanrently) + The second call of rtems_set_private_env() makes a internal chroot("/") into global imfs_root. + chroot() runs like chdir() without a previous chdir("/") with the global root. + The current directory can be in a wrong place like Linux and many other Unices. --- c/src/lib/ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'c/src/lib/ChangeLog') diff --git a/c/src/lib/ChangeLog b/c/src/lib/ChangeLog index ed9895eb30..49c66aaafe 100644 --- a/c/src/lib/ChangeLog +++ b/c/src/lib/ChangeLog @@ -1,3 +1,20 @@ +2001-04-20 Correo Fernando-ruiz + + * include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c: + Private environment and chroot() enhancements and fixes. Comments: + + privateenv has been modified to let at chroot() to be more + POSIX like Sergei Organov recommended. + + A task owner lets that rtems_set_private_env() will be + called twice or more times. + + chroot() can be called without a previous + rtems_set_private_env(); (transpanrently) + + The second call of rtems_set_private_env() makes a internal + chroot("/") into global imfs_root. + + chroot() runs like chdir() without a previous chdir("/") with + the global root. + + The current directory can be in a wrong place like Linux and + many other Unices. + 2001-04-16 Joel Sherrill * include/rtc.h: New file. -- cgit v1.2.3