diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-06-11 12:19:56 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-08-17 11:19:44 +0200 |
commit | f25f4192c7ea7f3ccb6759dc000a3272e9c4e815 (patch) | |
tree | dc04a23bec7a325e79585fda1235ceae2cd341fd /src/libcharon/sa/eap/eap_method.c | |
parent | b410d7f8ff39001a3fefa5bebd08de3c295f5c9c (diff) | |
download | strongswan-f25f4192c7ea7f3ccb6759dc000a3272e9c4e815.tar.bz2 strongswan-f25f4192c7ea7f3ccb6759dc000a3272e9c4e815.tar.xz |
utils: Directly use syscall() to close open FDs in closefrom()
This avoids any allocations, since calling malloc() after fork() is
potentially unsafe.
Fixes #990.
Diffstat (limited to 'src/libcharon/sa/eap/eap_method.c')
0 files changed, 0 insertions, 0 deletions