freebsd-dev/sys/fs/fdescfs
John Baldwin dd688800e1 Add a custom VOP_PATHCONF method for fdescfs.
The method handles NAME_MAX and LINK_MAX explicitly.  For all other
pathconf variables, the method passes the request down to the underlying
file descriptor.  This requires splitting a kern_fpathconf() syscallsubr
routine out of sys_fpathconf().  Also, to avoid lock order reversals with
vnode locks, the fdescfs vnode is unlocked around the call to
kern_fpathconf(), but with the usecount of the vnode bumped.

MFC after:	1 month
Sponsored by:	Chelsio Communications
2017-12-19 18:20:38 +00:00
..
fdesc_vfsops.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
fdesc_vnops.c Add a custom VOP_PATHCONF method for fdescfs. 2017-12-19 18:20:38 +00:00
fdesc.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00