An ubus RPC daemon for Liminix
Find a file
Rosen Penev 604db20aa6 rpcd: Switch to nanosleep
usleep has been deprecated by POSIX.1-2001 and removed in POSIX.1-2008.
Fixes compilation when libc does not include usleep (optional with
uClibc-ng).

nanosleep also has the advantage of being more accurate.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[move timespec definition to the top of the function]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-03 11:26:51 +02:00
include/rpcd plugin: store pointer to exec timeout value in the ops structure 2018-11-28 12:10:40 +01:00
CMakeLists.txt Fix possible linker errors by using CMake find_library macro 2019-06-05 13:10:50 +02:00
exec.c treewide: rename exec_timeout to rpc_exec_timeout 2018-11-28 12:07:58 +01:00
file.c file: add path based read/write/exec ACL checks 2019-09-01 18:29:03 +02:00
iwinfo.c iwinfo: add mesh infos in assoclist. 2019-03-05 19:51:54 +01:00
main.c treewide: rename exec_timeout to rpc_exec_timeout 2018-11-28 12:07:58 +01:00
plugin.c plugin: store pointer to exec timeout value in the ops structure 2018-11-28 12:10:40 +01:00
session.c session: handle NULL return values of crypt() 2019-05-22 14:25:52 +02:00
sys.c rpcd: Switch to nanosleep 2019-09-03 11:26:51 +02:00
uci.c uci: tighten uci reorder operation error handling 2018-08-09 00:07:27 +02:00
unauthenticated.json session: setup a persistent NULL section and implement login procedure 2013-09-10 19:56:36 +02:00