summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-19 13:10:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-19 13:10:31 +0000
commit4bcf2c2a5e5af336f121493ef490fe670b4282ba (patch)
treed13865dbfaaf1b0f441c5bcefa0bd1ca6aea08b5 /cpukit/libcsupport
parent2011-07-19 Ricardo Aguirre <el.mastin@ymail.com> (diff)
downloadrtems-4bcf2c2a5e5af336f121493ef490fe670b4282ba.tar.bz2
2011-07-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1838/filesystem * libcsupport/src/fchmod.c: fchmod() does not need a writeable file descriptor.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/src/fchmod.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/fchmod.c b/cpukit/libcsupport/src/fchmod.c
index 867f40f1f8..e90a155bdb 100644
--- a/cpukit/libcsupport/src/fchmod.c
+++ b/cpukit/libcsupport/src/fchmod.c
@@ -1,7 +1,7 @@
/*
* fchmod() - POSIX 1003.1b 5.6.4 - Change File Modes
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2011.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -38,8 +38,5 @@ int fchmod(
/*
* Now process the fchmod().
*/
-
- rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );
-
return (*iop->pathinfo.handlers->fchmod_h)( &iop->pathinfo, mode );
}