diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-07-19 13:14:18 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-07-19 13:14:18 +0000 |
commit | 2a4438a14620749ea56769c2b38f814d200ab66d (patch) | |
tree | aa45ccb4bd949d1e25a1ff17f21295f4c508e622 | |
parent | 2e016f6f4e8e8e6c8a9e3b08081b928409441946 (diff) |
2011-07-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1838/filesystem
* libcsupport/src/fchmod.c: fchmod() does not need a writeable file
descriptor.
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libcsupport/src/fchmod.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 8988474f5a..59fa84c304 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2011-07-19 Joel Sherrill <joel.sherrilL@OARcorp.com> + + PR 1838/filesystem + * libcsupport/src/fchmod.c: fchmod() does not need a writeable file + descriptor. + 2011-07-14 Gene Smith <gene.smith@siemens.com> PR 1381/networking diff --git a/cpukit/libcsupport/src/fchmod.c b/cpukit/libcsupport/src/fchmod.c index 11d9c0e723..91ca5f6fb5 100644 --- a/cpukit/libcsupport/src/fchmod.c +++ b/cpukit/libcsupport/src/fchmod.c @@ -38,9 +38,6 @@ int fchmod( /* * Now process the fchmod(). */ - - rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE ); - if ( !iop->handlers->fchmod_h ) rtems_set_errno_and_return_minus_one( ENOTSUP ); |