This should fix some problems with removing directories, if glibc
is using getdents64 to read a directory we were failing to fill
in the filetype at all. This resulted in user space assuming that
a directory was not a directory and using unlink on it.
Date: Mon Oct 2 11:29:06 PDT 2000
Workarea: eagdhcp-184-4.americas.sgi.com:/usr/src/lord/2.4.0-test8
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:75464a
linux/fs/xfs/xfs_dir_leaf.c - 1.92
- Pass DT_UNKNOWN into filldir during getdents calls
linux/fs/xfs/xfs_dir2.c - 1.24
- Pass DT_UNKNOWN into filldir during getdents calls
linux/fs/xfs/linux/xfs_move.h - 1.2
- extend interface for uio_copy since filldir changed
|