commit | aa73b2ecb81f1fe4f503d3ac693679632587ad50 | [log] [tgz] |
---|---|---|
author | Chris Dickens <christopher.a.dickens@gmail.com> | Mon Feb 20 00:55:15 2017 -0800 |
committer | Chris Dickens <christopher.a.dickens@gmail.com> | Tue Feb 28 21:25:25 2017 -0800 |
tree | b640b5153f8cc571b8f5931d48bb6f17addbb92b | |
parent | 02e142f432fe376c361ec4dc4f2fd8b3e4f9c0ce [diff] |
linux: Mark internal file descriptors as CLOEXEC As a library, libusb should take care to be as friendly as possible with various use cases. One such way is to ensure that internal file descriptors have the CLOEXEC flag set, thus allowing processes to do a fork() + exec() without leaking libusb's file descriptors to the child process. References #268 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb is a library for USB device access from Linux, Mac OS X, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)