HomeFreeBSD

vfs: fixup WANTIOCTLCAPS on open

Description

vfs: fixup WANTIOCTLCAPS on open

In some cases vn_open_cred overwrites cn_flags, effectively nullifying
initialisation done in NDINIT. This will have to be fixed.

In the meantime make sure the flag is passed.

Reported by: jenkins
Noted by: Mathieu <sigsys@gmail.com>

(cherry picked from commit b7262756e2f471f6481070e2473af7853506b150)

Details

Provenance
mjgAuthored on Apr 2 2022, 6:35 PM
Parents
rG838d8e6fb60e: vfs: fix memory leak on lookup with fds with ioctl caps
Branches
Unknown
Tags
Unknown