diff options
author | mjg <mjg@FreeBSD.org> | 2012-07-09 05:39:31 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2012-07-09 05:39:31 +0000 |
commit | 24d9f5c7d649df6299434ef62e52d3f53708225d (patch) | |
tree | b1fa0038ad096a82406fad6b40840045449ae0fc /sys/netinet6 | |
parent | a596d3e5b38804358cd22493f964b64c36567719 (diff) | |
download | FreeBSD-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