Changeset a637c08 in rtems


Ignore:
Timestamp:
Nov 8, 2001, 12:00:01 AM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
1fd36613
Parents:
3fe8f44b
Message:

2001-11-07 Jennifer Averett <jennifer@…>

Reported by Ibragimov Ilya <ibr@…> and tracked as PR63.

  • libc/chdir.c: Check for search/execute permissions on chdir. This requires passing RTEMS_LIBIO_PERMS_SEARCH to rtems_filesystem_evaluate_path().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libc/chdir.c

    r3fe8f44b ra637c08  
    3030   */
    3131
    32   result = rtems_filesystem_evaluate_path( pathname, 0, &loc, TRUE );
     32  result = rtems_filesystem_evaluate_path(
     33    pathname, RTEMS_LIBIO_PERMS_SEARCH, &loc, TRUE );
    3334  if ( result != 0 )
    3435     return -1;
Note: See TracChangeset for help on using the changeset viewer.