Some sysfs or proc files contain more than 128 byte of data, e.g. the
/proc/filesystems or /proc/mounts files.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
#include <rpcd/plugin.h>
/* limit of sys & proc files */
#include <rpcd/plugin.h>
/* limit of sys & proc files */
-#define RPC_FILE_MIN_SIZE (128)
+#define RPC_FILE_MIN_SIZE (4096)
/* limit of regular files and command output data */
#define RPC_FILE_MAX_SIZE (4096 * 64)
/* limit of regular files and command output data */
#define RPC_FILE_MAX_SIZE (4096 * 64)