Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* io-pathconf.c: Include <unistd.h>.
(diskfs_S_io_pathconf): Provide real definition.
|
|
|
|
|
|
|
|
|
|
|