commands: annotate array argument

parent 9e6c8fef
...@@ -376,9 +376,9 @@ static inline int rsp_one_fd(int fd, int fd_send, struct lxc_cmd_rsp *rsp) ...@@ -376,9 +376,9 @@ static inline int rsp_one_fd(int fd, int fd_send, struct lxc_cmd_rsp *rsp)
return LXC_CMD_REAP_CLIENT_FD; return LXC_CMD_REAP_CLIENT_FD;
} }
static inline int rsp_many_fds(int fd, __u32 fds_len, __access_r(3, 2) static int rsp_many_fds(int fd, __u32 fds_len,
const __s32 fds[KERNEL_SCM_MAX_FD], const __s32 fds[static 2],
struct lxc_cmd_rsp *rsp) struct lxc_cmd_rsp *rsp)
{ {
ssize_t ret; ssize_t ret;
......
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