Changeset de691e6 in rtems for cpukit/libcsupport/src/rmdir.c


Ignore:
Timestamp:
Nov 25, 2003, 5:26:45 PM (16 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
3959276e
Parents:
ba77fe60
Message:

2003-11-25 Jennifer Averett <jennifer@…>

PR 519/filesystem

  • include/rtems/libio_.h, src/eval.c, src/rmdir.c, src/unlink.c: Check write permissions in parent directory for file or directory delete
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/rmdir.c

    rba77fe60 rde691e6  
    4040     return -1;
    4141
     42  result = rtems_filesystem_evaluate_parent(RTEMS_LIBIO_PERMS_WRITE, &loc );
     43  if (result != 0){
     44    rtems_filesystem_freenode( &loc );
     45    return -1;
     46  }
     47
    4248  /*
    4349   * Verify you can remove this node as a directory.
Note: See TracChangeset for help on using the changeset viewer.