diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-12-22 07:56:57 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-05 14:29:09 +0100 |
commit | f9f7321e0a7d6f1178687668bec7fe2edb378d42 (patch) | |
tree | 8793dff4f74f616291084b08db3e2652bade344c /testsuites/psxtests | |
parent | doc: Mention potential SMP scheduler improvement (diff) | |
download | rtems-f9f7321e0a7d6f1178687668bec7fe2edb378d42.tar.bz2 |
Filesystem: Remove superfluous permission checks
The permission is check by the upper layer.
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r-- | testsuites/psxtests/psximfs02/init.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/testsuites/psxtests/psximfs02/init.c b/testsuites/psxtests/psximfs02/init.c index 2a55d08f38..2316eb5fc3 100644 --- a/testsuites/psxtests/psximfs02/init.c +++ b/testsuites/psxtests/psximfs02/init.c @@ -160,7 +160,6 @@ rtems_task Init( status = seteuid( 10 ); rtems_test_assert( status == 0 ); -#if defined(RTEMS_POSIX_API) puts( "Attempt chmod on /node -- expect EPERM" ); status = chmod( "/node", S_IRUSR ); rtems_test_assert( status == -1 ); @@ -170,10 +169,6 @@ rtems_task Init( status = chown( "/node", 10, 10 ); rtems_test_assert( status == -1 ); rtems_test_assert( errno == EPERM ); -#else - puts( "Attempt chmod on /node -- EPERM only when POSIX enabled" ); - puts( "Attempt chown on /node -- EPERM only when POSIX enabled" ); -#endif puts( "Changing euid back to 0 [root]" ); status = seteuid( 0 ); |