summaryrefslogtreecommitdiff
path: root/libdiskfs/io-pathconf.c
AgeCommit message (Collapse)Author
1999-10-141999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* io-pathconf.c (diskfs_S_io_pathconf): Cap diskfs_name_max to size representable in struct dirent.d_namlen. (diskfs_S_io_pathconf): Always return 1 for _PC_NO_TRUNC, since we always constrain diskfs_name_max.
1999-10-141999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* lookup.c (diskfs_lookup): Enforce diskfs_name_max limit for CREATE and RENAME, returning ENAMETOOLONG for violations. * io-pathconf.c (diskfs_S_io_pathconf): _PC_NO_TRUNC controlled by diskfs_name_max setting.
1999-10-131999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* diskfs.h (diskfs_name_max): Declare new variable. * io-pathconf.c (diskfs_S_io_pathconf): Use it for _PC_NAME_MAX, capping it to 1024.
1999-09-091999-09-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io-pathconf.c: Include <unistd.h>. (diskfs_S_io_pathconf): Provide real definition.
1995-09-18(diskfs_S_io_pathconf): Renamed from file_pathconf.c:diskfs_S_file_pathconf.Miles Bader
1995-06-09(diskfs_S_file_pathconf): Declare NAME to be unused.Michael I. Bushnell
1994-05-05entered into RCSRoland McGrath
1994-02-03Formerly file-pathconf.c.~2~Michael I. Bushnell
1994-01-31Initial revisionMichael I. Bushnell