tmpfs: implement pathconf(_PC_SYMLINK_MAX)
This fixes one of the sys/audit tests when running them on tmpfs. Reviewed By: delphij, kib Differential Revision: https://reviews.freebsd.org/D28387
This commit is contained in:
parent
892a05ee3a
commit
1d15bceae6
@ -1609,6 +1609,10 @@ tmpfs_pathconf(struct vop_pathconf_args *v)
|
||||
*retval = TMPFS_LINK_MAX;
|
||||
break;
|
||||
|
||||
case _PC_SYMLINK_MAX:
|
||||
*retval = MAXPATHLEN;
|
||||
break;
|
||||
|
||||
case _PC_NAME_MAX:
|
||||
*retval = NAME_MAX;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user