ardupilot/libraries/AP_HAL_Linux
Lucas De Marchi 490841a814 AP_HAL_Linux: add O_CLOEXEC in places missing it
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00
..
benchmarks waf: ardupilotwaf: prefix build context methods with ap_ 2016-01-22 20:10:29 -02:00
examples/GPIOTest Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
qflight AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
tests AP_HAL_Linux: add unit tests for Thread implementations 2016-11-02 16:28:20 -02:00
AnalogIn_ADS1115.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AnalogIn_ADS1115.h AP_HAL_Linux: AnalogIn_ADS1115: return 5V on board_voltage 2016-07-28 16:42:38 -03:00
AnalogIn_IIO.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
AnalogIn_IIO.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AnalogIn_Navio2.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
AnalogIn_Navio2.h AP_HAL_Linux: added AnalogIn_Navio2 2016-02-27 03:06:50 -03:00
AnalogIn_Raspilot.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AnalogIn_Raspilot.h AP_HAL_Linux: AnalogIn_Raspilot: use SPIDevice interface 2016-07-29 14:47:04 -03:00
AP_HAL_Linux.h AP_HAL_Linux: replace header guard with pragma once 2016-02-18 14:52:35 -02:00
CameraSensor_Mt9v117_Patches.cpp AP_HAL_Linux: move mt9v117 patches inside class 2015-12-18 17:56:06 +11:00
CameraSensor_Mt9v117.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
CameraSensor_Mt9v117.h AP_HAL_Linux: convert CameraSensor_Mt9v117 to I2CDevice 2016-07-28 18:03:09 -03:00
CameraSensor.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
CameraSensor.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
ConsoleDevice.cpp AP_HAL_Linux: add ConsoleDevice a handler for TTIN signal 2016-07-27 21:30:19 +10:00
ConsoleDevice.h AP_HAL_Linux: add ConsoleDevice a handler for TTIN signal 2016-07-27 21:30:19 +10:00
Flow_PX4.cpp AP_HAL_Linux: Fix typos 2016-05-13 19:20:06 -03:00
Flow_PX4.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
GPIO_Aero.cpp AP_HAL_Linux: add port to Intel Aero 2016-09-03 01:03:07 -03:00
GPIO_Aero.h AP_HAL_Linux: add port to Intel Aero 2016-09-03 01:03:07 -03:00
GPIO_BBB.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
GPIO_BBB.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
GPIO_Bebop.cpp HAL_Linux: fixed ULTRASOUND GPIO for Disco 2016-07-20 13:38:17 +10:00
GPIO_Bebop.h AP_HAL_Linux: Add support for Sonar GPIO 2016-05-03 16:43:39 -03:00
GPIO_Disco.cpp HAL_Linux: fixed ULTRASOUND GPIO for Disco 2016-07-20 13:38:17 +10:00
GPIO_Disco.h HAL_Linux: fixed ULTRASOUND GPIO for Disco 2016-07-20 13:38:17 +10:00
GPIO_Minnow.cpp AP_HAL_Linux: add GPIO definitions for minlure 2015-10-22 12:04:52 +11:00
GPIO_Minnow.h AP_HAL_Linux: add GPIO definitions for minlure 2015-10-22 12:04:52 +11:00
GPIO_RPI.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
GPIO_RPI.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
GPIO_Sysfs.cpp AP_HAL_Linux: remove ifdef checks for HAL_BOARD_LINUX 2016-05-18 23:05:56 -03:00
GPIO_Sysfs.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
GPIO.cpp AP_HAL_Linux: fix include order 2016-05-18 23:05:56 -03:00
GPIO.h AP_HAL_Linux: GPIO_RPI: Added URUS Macro. 2016-10-27 11:51:32 -02:00
HAL_Linux_Class.cpp AP_HAL_Linux: teardown scheduler threads 2016-11-02 16:28:20 -02:00
HAL_Linux_Class.h AP_HAL_Linux: add signal handler for normal termination 2016-11-02 16:28:20 -02:00
Heat_Pwm.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
Heat_Pwm.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
Heat.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
I2CDevice.cpp AP_HAL_Linux: allow to teardown bus threads 2016-11-02 16:28:20 -02:00
I2CDevice.h AP_HAL_Linux: allow to teardown bus threads 2016-11-02 16:28:20 -02:00
OpticalFlow_Onboard.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
OpticalFlow_Onboard.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
Perf_Lttng_TracePoints.h AP_HAL_Linux: Perf: make lttng use internal fields 2016-06-23 19:06:30 -03:00
Perf_Lttng.cpp AP_HAL_Linux: Perf: make lttng use internal fields 2016-06-23 19:06:30 -03:00
Perf_Lttng.h AP_HAL_Linux: Perf: make lttng use internal fields 2016-06-23 19:06:30 -03:00
Perf.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
Perf.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
Poller.cpp AP_HAL_Linux: allow to wakeup pollable 2016-11-02 16:28:20 -02:00
Poller.h AP_HAL_Linux: allow to wakeup pollable 2016-11-02 16:28:20 -02:00
PollerThread.cpp AP_HAL_Linux: allow PollerThread to stop 2016-11-02 16:28:20 -02:00
PollerThread.h AP_HAL_Linux: allow PollerThread to stop 2016-11-02 16:28:20 -02:00
PWM_Sysfs.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
PWM_Sysfs.h Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
px4io_protocol.h AP_HAL_Linux: new files for raspilot 2015-09-14 14:22:16 +10:00
RCInput_115200.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
RCInput_115200.h HAL_Linux: fixed SRXL and DSM 2016-10-16 21:31:37 +11:00
RCInput_AioPRU.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
RCInput_AioPRU.h AP_HAL_Linux: change define and members visibility 2016-07-29 20:27:12 -03:00
RCInput_DSM.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
RCInput_DSM.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
RCInput_Multi.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
RCInput_Multi.h HAL_Linux: added RCInput_Multi 2016-09-21 10:33:15 -03:00
RCInput_Navio2.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
RCInput_Navio2.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
RCInput_PRU.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
RCInput_PRU.h AP_HAL_Linux: change define and members visibility 2016-07-29 20:27:12 -03:00
RCInput_Raspilot.cpp AP_HAL_Linux: RCInput_Raspilot use SPIDevice interface 2016-07-29 15:01:14 -03:00
RCInput_Raspilot.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
RCInput_RPI.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
RCInput_RPI.h AP_HAL: RCInput: rename deinit() to teardown() 2016-11-02 16:28:20 -02:00
RCInput_SBUS.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
RCInput_SBUS.h HAL_Linux: fixed incorrect include 2016-09-21 10:33:15 -03:00
RCInput_UART.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
RCInput_UART.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
RCInput_UDP_Protocol.h AP_HAL_Linux: replace header guard with pragma once 2016-02-18 14:52:35 -02:00
RCInput_UDP.cpp AP_HAL_Linux: fix include order 2016-05-18 23:05:56 -03:00
RCInput_UDP.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
RCInput_ZYNQ.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
RCInput_ZYNQ.h AP_HAL_Linux: change define and members visibility 2016-07-29 20:27:12 -03:00
RCInput.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
RCInput.h HAL_Linux: make 115200 R/C decoders return a bool 2016-10-16 19:05:19 +11:00
RCOutput_AeroIO.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
RCOutput_AeroIO.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
RCOutput_AioPRU.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
RCOutput_AioPRU.h HAL_Linux: implement cork/push for RCOutput_AioPRU 2016-10-13 10:00:04 +11:00
RCOutput_Bebop.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
RCOutput_Bebop.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
RCOutput_Disco.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
RCOutput_Disco.h HAL_Linux: document the Disco PWM pinout 2016-10-12 21:41:49 +11:00
RCOutput_PCA9685.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
RCOutput_PCA9685.h AP_HAL_Linux: PCA9685: Add quinary address 2016-10-24 10:00:06 -02:00
RCOutput_PRU.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
RCOutput_PRU.h HAL_Linux: implement cork and push for remaining RCOutput backends 2016-10-13 10:00:04 +11:00
RCOutput_qflight.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
RCOutput_qflight.h HAL_Linux: implement cork and push for remaining RCOutput backends 2016-10-13 10:00:04 +11:00
RCOutput_Raspilot.cpp HAL_Linux: implement cork()/push() for Raspilot 2016-10-13 10:00:04 +11:00
RCOutput_Raspilot.h HAL_Linux: implement cork()/push() for Raspilot 2016-10-13 10:00:04 +11:00
RCOutput_Sysfs.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
RCOutput_Sysfs.h HAL_Linux: implement cork()/push() for HAL_Linux RCOutput_Sysfs 2016-10-13 10:00:04 +11:00
RCOutput_ZYNQ.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
RCOutput_ZYNQ.h HAL_Linux: implement cork and push for remaining RCOutput backends 2016-10-13 10:00:04 +11:00
RPIOUARTDriver.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
RPIOUARTDriver.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
sbus.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
sbus.h HAL_Linux: added SBUS decoder from PX4 project 2014-10-07 14:57:34 +11:00
Scheduler.cpp Linux: Scheduler: don't ignore return values 2016-11-03 17:27:37 -03:00
Scheduler.h AP_HAL_Linux: teardown scheduler threads 2016-11-02 16:28:20 -02:00
Semaphores.cpp AP_HAL_Linux: fix include order 2016-05-18 23:05:56 -03:00
Semaphores.h Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
SerialDevice.h AP_HAL_Linux: make flow_control a property of SerialDevice rather than UARTDriver's 2016-07-15 15:26:49 -03:00
SPIDevice.cpp AP_HAL_Linux: allow to teardown bus threads 2016-11-02 16:28:20 -02:00
SPIDevice.h AP_HAL_Linux: allow to teardown bus threads 2016-11-02 16:28:20 -02:00
SPIUARTDriver.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
SPIUARTDriver.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
Storage.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
Storage.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
system.cpp AP_HAL: RCInput: rename deinit() to teardown() 2016-11-02 16:28:20 -02:00
TCPServerDevice.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
TCPServerDevice.h Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
Thread.cpp AP_HAL_Linux: allow to join threads 2016-11-02 16:28:20 -02:00
Thread.h AP_HAL_Linux: allow to join threads 2016-11-02 16:28:20 -02:00
ToneAlarm_Raspilot.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
ToneAlarm_Raspilot.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
ToneAlarm.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
ToneAlarm.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
UARTDevice.cpp AP_HAL_Linux: make flow_control a property of SerialDevice rather than UARTDriver's 2016-07-15 15:26:49 -03:00
UARTDevice.h AP_HAL_Linux: make flow_control a property of SerialDevice rather than UARTDriver's 2016-07-15 15:26:49 -03:00
UARTDriver.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
UARTDriver.h AP_HAL_Linux: UARTDriver: Make use of ByteBuffer class 2016-10-27 14:23:42 +11:00
UARTQFlight.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
UARTQFlight.h HAL_Linux: added qflight board subtype 2015-12-27 16:12:27 +11:00
UDPDevice.cpp HAL_Linux: added udpin support to HAL_Linux 2016-06-28 21:01:43 +10:00
UDPDevice.h HAL_Linux: added udpin support to HAL_Linux 2016-06-28 21:01:43 +10:00
Util_RPI.cpp AP_HAL_Linux: Added URUS Macro to Util_RPI 2016-10-27 11:51:32 -02:00
Util_RPI.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00
Util.cpp Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
Util.h Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
VideoIn.cpp AP_HAL_Linux: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
VideoIn.h AP_HAL_Linux: remove AP_HAL_Linux_Namespace header 2016-07-29 20:25:03 -03:00