Changeset bc2db66 in rtems


Ignore:
Timestamp:
Nov 7, 2001, 11:54:59 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f2278a8
Parents:
ff79cc57
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().
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/src/chdir.c

    rff79cc57 rbc2db66  
    3434   */
    3535
    36   result = rtems_filesystem_evaluate_path( pathname, 0, &loc, TRUE );
     36  result = rtems_filesystem_evaluate_path(
     37    pathname, RTEMS_LIBIO_PERMS_SEARCH, &loc, TRUE );
    3738  if ( result != 0 )
    3839     return -1;
  • c/src/lib/ChangeLog

    rff79cc57 rbc2db66  
     12001-11-07      Jennifer Averett <jennifer@OARcorp.com>
     2
     3        Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR63.
     4        * libc/chdir.c: Check for search/execute permissions on chdir.
     5        This requires passing RTEMS_LIBIO_PERMS_SEARCH to
     6        rtems_filesystem_evaluate_path().
     7
    182001-10-26      Joel Sherrill <joel@OARcorp.com>
    29
  • c/src/lib/libc/chdir.c

    rff79cc57 rbc2db66  
    3434   */
    3535
    36   result = rtems_filesystem_evaluate_path( pathname, 0, &loc, TRUE );
     36  result = rtems_filesystem_evaluate_path(
     37    pathname, RTEMS_LIBIO_PERMS_SEARCH, &loc, TRUE );
    3738  if ( result != 0 )
    3839     return -1;
  • cpukit/libcsupport/src/chdir.c

    rff79cc57 rbc2db66  
    3434   */
    3535
    36   result = rtems_filesystem_evaluate_path( pathname, 0, &loc, TRUE );
     36  result = rtems_filesystem_evaluate_path(
     37    pathname, RTEMS_LIBIO_PERMS_SEARCH, &loc, TRUE );
    3738  if ( result != 0 )
    3839     return -1;
Note: See TracChangeset for help on using the changeset viewer.