Changeset 7c007cf in rtems


Ignore:
Timestamp:
Jul 10, 2008, 6:03:51 AM (11 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, 4.9, master
Children:
8084ce80
Parents:
5e4831f
Message:

Added S_IRWXU, S_IRWXG and S_IRWXO to file mode.

Location:
cpukit/libfs/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/dosfs/msdos_dir.c

    r5e4831f r7c007cf  
    421421    buf->st_dev = fs_info->fat.vol.dev;
    422422    buf->st_ino = fat_fd->ino;
    423     buf->st_mode  = S_IFDIR;
     423    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;
    424424    buf->st_rdev = 0ll;
    425425    buf->st_size = fat_fd->fat_file_size;
  • cpukit/libfs/src/dosfs/msdos_file.c

    r5e4831f r7c007cf  
    281281    buf->st_dev = fs_info->fat.vol.dev;
    282282    buf->st_ino = fat_fd->ino;
    283     buf->st_mode  = S_IFREG;
     283    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;
    284284    buf->st_rdev = 0ll;
    285285    buf->st_size = fat_fd->fat_file_size;
  • cpukit/libfs/src/imfs/deviceio.c

    r5e4831f r7c007cf  
    256256 *  The IMFS_rmnod() is used.
    257257 */
     258
     259int device_ftruncate(
     260  rtems_libio_t *iop,
     261  off_t          length
     262)
     263{
     264  return 0;
     265}
  • cpukit/libfs/src/imfs/imfs.h

    r5e4831f r7c007cf  
    481481);
    482482
     483int device_ftruncate(
     484  rtems_libio_t *iop,               /* IN  */
     485  off_t          length             /* IN  */
     486);
     487
    483488int IMFS_utime(
    484489  rtems_filesystem_location_info_t  *pathloc,       /* IN */
  • cpukit/libfs/src/imfs/imfs_handlers_device.c

    r5e4831f r7c007cf  
    3333  IMFS_stat,
    3434  IMFS_fchmod,
    35   NULL,   /* ftruncate */
     35  device_ftruncate,
    3636  NULL,   /* fpathconf */
    3737  NULL,   /* fsync */
Note: See TracChangeset for help on using the changeset viewer.