summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-01-16 02:02:50 +0000
committerngie <ngie@FreeBSD.org>2016-01-16 02:02:50 +0000
commit5df472ad9d7d2cf0556947a98ab052f4a098b40d (patch)
treec1d895feb858349b907a878c5c2ae3823d5342ff /contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp
parent73b8e753d32c0e36b8aee19f6c8e2d4d6251ec20 (diff)
downloadFreeBSD-src-5df472ad9d7d2cf0556947a98ab052f4a098b40d.zip
FreeBSD-src-5df472ad9d7d2cf0556947a98ab052f4a098b40d.tar.gz
Test for EPROTOTYPE not EPROTONOSUPPORT
- `SOCK_RAW` is the implied supported type parameter for socket(2) per route(4) - localsw in `sys/kern/uipc_usrreq.c` doesn't have an entry for `SOCK_RAW`, so the prototype is invalid (this isn't explicitly documented anywhere I could find) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud