mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
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
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue