Changeset b6a2d2fa in rtems


Ignore:
Timestamp:
08/09/01 22:09:36 (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ccb13cfe
Parents:
70d689a
Message:

2001-08-09 Fernando-Ruiz Casas <correo@…>

  • src/imfs/imfs_eval.c: The CD_UP problem in imfs_eval has been touched. The order of the questions is the key.
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libfs/ChangeLog

    r70d689a rb6a2d2fa  
     12001-08-09      Fernando-Ruiz Casas <correo@fernando-ruiz.com>
     2
     3        * src/imfs/imfs_eval.c: The CD_UP problem in imfs_eval has been
     4        touched. The order of the questions is the key.
     5
    162001-07-06      Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
    27
  • c/src/exec/libfs/src/imfs/imfs_eval.c

    r70d689a rb6a2d2fa  
    3232#define MAXSYMLINK 5
    3333
    34 int IMFS_Set_handlers( 
     34int IMFS_Set_handlers(
    3535  rtems_filesystem_location_info_t   *loc
    3636)
     
    293293 
    294294  /*
    295    * This was filled in by the caller and is valid in the 
     295   * This was filled in by the caller and is valid in the
    296296   * mount table.
    297297   */
     
    324324
    325325      case IMFS_UP_DIR:
     326       /*
     327        *  Am I at the root of all filesystems? (chroot'ed?)
     328        */
     329
     330       if ( pathloc->node_access == rtems_filesystem_root.node_access )
     331         break;       /* Throw out the .. in this case */
     332
    326333
    327334        /*
     
    517524    switch( type ) {
    518525      case IMFS_UP_DIR:
     526       /*
     527        *  Am I at the root of all filesystems? (chroot'ed?)
     528        */
     529
     530       if ( pathloc->node_access == rtems_filesystem_root.node_access )
     531         break;       /* Throw out the .. in this case */
    519532
    520533        /*
     
    560573          node = pathloc->node_access;
    561574          if ( !node )
    562             set_errno_and_return_minus_one( ENOTDIR ); 
     575            set_errno_and_return_minus_one( ENOTDIR );
    563576
    564577        } else if ( node->type == IMFS_SYM_LINK ) {
  • c/src/libfs/ChangeLog

    r70d689a rb6a2d2fa  
     12001-08-09      Fernando-Ruiz Casas <correo@fernando-ruiz.com>
     2
     3        * src/imfs/imfs_eval.c: The CD_UP problem in imfs_eval has been
     4        touched. The order of the questions is the key.
     5
    162001-07-06      Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
    27
  • c/src/libfs/src/imfs/imfs_eval.c

    r70d689a rb6a2d2fa  
    3232#define MAXSYMLINK 5
    3333
    34 int IMFS_Set_handlers( 
     34int IMFS_Set_handlers(
    3535  rtems_filesystem_location_info_t   *loc
    3636)
     
    293293 
    294294  /*
    295    * This was filled in by the caller and is valid in the 
     295   * This was filled in by the caller and is valid in the
    296296   * mount table.
    297297   */
     
    324324
    325325      case IMFS_UP_DIR:
     326       /*
     327        *  Am I at the root of all filesystems? (chroot'ed?)
     328        */
     329
     330       if ( pathloc->node_access == rtems_filesystem_root.node_access )
     331         break;       /* Throw out the .. in this case */
     332
    326333
    327334        /*
     
    517524    switch( type ) {
    518525      case IMFS_UP_DIR:
     526       /*
     527        *  Am I at the root of all filesystems? (chroot'ed?)
     528        */
     529
     530       if ( pathloc->node_access == rtems_filesystem_root.node_access )
     531         break;       /* Throw out the .. in this case */
    519532
    520533        /*
     
    560573          node = pathloc->node_access;
    561574          if ( !node )
    562             set_errno_and_return_minus_one( ENOTDIR ); 
     575            set_errno_and_return_minus_one( ENOTDIR );
    563576
    564577        } else if ( node->type == IMFS_SYM_LINK ) {
  • cpukit/libfs/ChangeLog

    r70d689a rb6a2d2fa  
     12001-08-09      Fernando-Ruiz Casas <correo@fernando-ruiz.com>
     2
     3        * src/imfs/imfs_eval.c: The CD_UP problem in imfs_eval has been
     4        touched. The order of the questions is the key.
     5
    162001-07-06      Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
    27
  • cpukit/libfs/src/imfs/imfs_eval.c

    r70d689a rb6a2d2fa  
    3232#define MAXSYMLINK 5
    3333
    34 int IMFS_Set_handlers( 
     34int IMFS_Set_handlers(
    3535  rtems_filesystem_location_info_t   *loc
    3636)
     
    293293 
    294294  /*
    295    * This was filled in by the caller and is valid in the 
     295   * This was filled in by the caller and is valid in the
    296296   * mount table.
    297297   */
     
    324324
    325325      case IMFS_UP_DIR:
     326       /*
     327        *  Am I at the root of all filesystems? (chroot'ed?)
     328        */
     329
     330       if ( pathloc->node_access == rtems_filesystem_root.node_access )
     331         break;       /* Throw out the .. in this case */
     332
    326333
    327334        /*
     
    517524    switch( type ) {
    518525      case IMFS_UP_DIR:
     526       /*
     527        *  Am I at the root of all filesystems? (chroot'ed?)
     528        */
     529
     530       if ( pathloc->node_access == rtems_filesystem_root.node_access )
     531         break;       /* Throw out the .. in this case */
    519532
    520533        /*
     
    560573          node = pathloc->node_access;
    561574          if ( !node )
    562             set_errno_and_return_minus_one( ENOTDIR ); 
     575            set_errno_and_return_minus_one( ENOTDIR );
    563576
    564577        } else if ( node->type == IMFS_SYM_LINK ) {
Note: See TracChangeset for help on using the changeset viewer.