From c891fe082e239cc8e4505590fa773833ab418f5a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 25 May 2001 13:46:02 +0000 Subject: 2001-05-25 Joel Sherrill * libc/base_fs.c: Deleted chmod() now that IMFS creates the root node with the desired permissions. chmod() is also not supported by the miniIMFS so this is not allowable. --- c/src/exec/libcsupport/src/base_fs.c | 6 ++---- c/src/lib/ChangeLog | 6 ++++++ c/src/lib/libc/base_fs.c | 6 ++---- cpukit/libcsupport/src/base_fs.c | 6 ++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/c/src/exec/libcsupport/src/base_fs.c b/c/src/exec/libcsupport/src/base_fs.c index 7470b52295..119f38d794 100644 --- a/c/src/exec/libcsupport/src/base_fs.c +++ b/c/src/exec/libcsupport/src/base_fs.c @@ -84,11 +84,9 @@ void rtems_filesystem_initialize( void ) * * If the mkdir() fails, we can't print anything so just fatal error. * - * NOTE: UNIX root is 755 and owned by root/root (0/0). + * NOTE: UNIX root is 755 and owned by root/root (0/0). It is actually + * created that way by the IMFS. */ - status=chmod("/", 0755); - if ( status != 0 ) - rtems_fatal_error_occurred( 0xABCD0003 ); status = mkdir( "/dev", 0777); if ( status != 0 ) diff --git a/c/src/lib/ChangeLog b/c/src/lib/ChangeLog index cbe3a8efd0..209e5ec814 100644 --- a/c/src/lib/ChangeLog +++ b/c/src/lib/ChangeLog @@ -1,3 +1,9 @@ +2001-05-25 Joel Sherrill + + * libc/base_fs.c: Deleted chmod() now that IMFS creates the + root node with the desired permissions. chmod() is also not + supported by the miniIMFS so this is not allowable. + 2000-05-24 Fernando Ruiz Casas * include/rtems/libio_.h: Added login name, uid, gid, euid, and egid diff --git a/c/src/lib/libc/base_fs.c b/c/src/lib/libc/base_fs.c index 7470b52295..119f38d794 100644 --- a/c/src/lib/libc/base_fs.c +++ b/c/src/lib/libc/base_fs.c @@ -84,11 +84,9 @@ void rtems_filesystem_initialize( void ) * * If the mkdir() fails, we can't print anything so just fatal error. * - * NOTE: UNIX root is 755 and owned by root/root (0/0). + * NOTE: UNIX root is 755 and owned by root/root (0/0). It is actually + * created that way by the IMFS. */ - status=chmod("/", 0755); - if ( status != 0 ) - rtems_fatal_error_occurred( 0xABCD0003 ); status = mkdir( "/dev", 0777); if ( status != 0 ) diff --git a/cpukit/libcsupport/src/base_fs.c b/cpukit/libcsupport/src/base_fs.c index 7470b52295..119f38d794 100644 --- a/cpukit/libcsupport/src/base_fs.c +++ b/cpukit/libcsupport/src/base_fs.c @@ -84,11 +84,9 @@ void rtems_filesystem_initialize( void ) * * If the mkdir() fails, we can't print anything so just fatal error. * - * NOTE: UNIX root is 755 and owned by root/root (0/0). + * NOTE: UNIX root is 755 and owned by root/root (0/0). It is actually + * created that way by the IMFS. */ - status=chmod("/", 0755); - if ( status != 0 ) - rtems_fatal_error_occurred( 0xABCD0003 ); status = mkdir( "/dev", 0777); if ( status != 0 ) -- cgit v1.2.3