Ignore:
Timestamp:
Aug 27, 2010, 5:33:11 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10
Children:
b8dc838
Parents:
9586418
Message:

2010-08-27 Joel Sherrill <joel.sherrilL@…>

PR 1692/filesystem

  • libcsupport/include/rtems/libio.h, libfs/src/devfs/devfs_eval.c, libfs/src/imfs/imfs_eval.c: Fix implementation and use of rtems_libio_is_valid_perms().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/imfs/imfs_eval.c

    r9586418 red4a3f6  
    8383  int           flags_to_test;
    8484
    85   if ( !rtems_libio_is_valid_perms( flags ) ) {
    86     assert( 0 );
    87     rtems_set_errno_and_return_minus_one( EIO );
    88   }
     85  if ( !rtems_libio_is_valid_perms( flags ) )
     86    rtems_set_errno_and_return_minus_one( EPERM );
    8987
    9088  jnode = node->node_access;
Note: See TracChangeset for help on using the changeset viewer.