K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-02-01T14:51:11.880781Z K 7 svn:log V 1108 Merge c173958, c174024, c174029, c174030, c174074, c174075, c174076, c174086, c174087, c174089, c174091: File descriptor reordering via lc_fdlist_reorder() Add a rough draft man page for the libcapsicum fdlist API. Fix markup nits, type nits, and argument names. Fix further nits, document return values for fdlist functions. Added ld_fdlist_append(), plus one sanity check and the ability to ignore names in lc_fdlist_lookup() Add lc_fdlist_append() to libcapsicum.h Added the weak symbol ld_libdirs() Avoid passing lc_fdlist by reference to utility functions by adopting a static lc_fdlist pointer over the life time of the list, with the storage pointer being rewritten instead. The result is more locking friendly. Also correct some locking bugs. Layout fixes, comment that we'll make the _size a private function. Clean up style in a few places. Properly handle lock unwinding in append. Comment on lock recursion. White space tweak. Submitted by: Jonathan Anderson (portions) Sponsored by: Google, Inc. (portions) END