summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2012-07-09 05:39:31 +0000
committermjg <mjg@FreeBSD.org>2012-07-09 05:39:31 +0000
commit24d9f5c7d649df6299434ef62e52d3f53708225d (patch)
treeb1fa0038ad096a82406fad6b40840045449ae0fc /sys/netinet6
parenta596d3e5b38804358cd22493f964b64c36567719 (diff)
downloadFreeBSD-src-24d9f5c7d649df6299434ef62e52d3f53708225d.zip
FreeBSD-src-24d9f5c7d649df6299434ef62e52d3f53708225d.tar.gz
Follow-up commit to r238220:
Pass only FEXEC (instead of FREAD|FEXEC) in fgetvp_exec. _fget has to check for !FWRITE anyway and may as well know about FREAD. Make _fget code a bit more readable by converting permission checking from if() to switch(). Assert that correct permission flags are passed. In collaboration with: kib Approved by: trasz (mentor) MFC after: 6 days X-MFC: with r238220
Diffstat (limited to 'sys/netinet6')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud