PERFORCE change 177190 for review
Jonathan Anderson
jona at FreeBSD.org
Wed Apr 21 20:10:25 UTC 2010
http://p4web.freebsd.org/@@177190?ac=10
Change 177190 by jona at jona-belle-freebsd8 on 2010/04/21 20:10:09
No, we don't really need this
Affected files ...
.. //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_fdlist.c#11 edit
Differences ...
==== //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_fdlist.c#11 (text+ko) ====
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_fdlist.c#10 $
+ * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_fdlist.c#11 $
*/
#include <sys/mman.h>
@@ -467,12 +467,6 @@
LOCK(lfp);
lfsp = lfp->lf_storage;
- /* Do we really need to do this? */
- if (lfsp->count == 0) {
- UNLOCK(lfp);
- return (0);
- }
-
/*
* Identify the highest source file descriptor we care about so that
* when we play the dup2() rearranging game, we don't overwrite any
More information about the p4-projects
mailing list