lsm: s/LXC_NUMSTRLEN64/INTTYPE_TO_STRLEN()/

parent 85c427f4
......@@ -28,10 +28,9 @@ struct lxc_conf;
#include <sys/types.h>
#include "macro.h"
#include "utils.h"
#define LXC_LSMATTRLEN (5 + (LXC_NUMSTRLEN64) + 7 + 1)
struct lsm_drv {
const char *name;
......
......@@ -139,6 +139,7 @@
/* /proc/pid-to-str/status\0 = (5 + 21 + 7 + 1) */
#define LXC_PROC_STATUS_LEN (5 + (LXC_NUMSTRLEN64) + 7 + 1)
#define LXC_CMD_DATA_MAX (MAXPATHLEN * 2)
#define LXC_LSMATTRLEN (5 + (INTTYPE_TO_STRLEN(pid_t)) + 7 + 1)
/* loop devices */
#ifndef LO_FLAGS_AUTOCLEAR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment