HomeFreeBSD

fd: fix up fget_cap

Description

fd: fix up fget_cap

If the kernel is not compiled with the CAPABILITIES kernel options
fget_unlocked doesn't return the sequence number so fd_modify will
always report modification, in that case we got infinity loop.

Reported by: br
Reviewed by: mjg
Tested by: br, def

Details

Provenance
oshogboAuthored on Sep 23 2016, 8:13 AM
Parents
rG3a970562d7f8: Check if IPv6 supported before running the test, skip otherwise.
Branches
Unknown
Tags
Unknown

Event Timeline