<div dir="ltr"><div>On Sat, Jul 22, 2017 at 09:53:37PM +0300, Dmitry V. Levin wrote:</div><div>> On Sat, Jul 22, 2017 at 08:43:32PM +0800, JingPiao Chen wrote:</div><div>[...]</div><div>> > diff --git a/defs.h b/defs.h</div><div>> > index 4048915..9d99575 100644</div><div>> > --- a/defs.h</div><div>> > +++ b/defs.h</div><div>> > @@ -711,6 +711,9 @@ typedef bool (*netlink_decoder_t)(struct tcb *, const struct nlmsghdr *,</div><div>> >  extern bool<span class="gmail-Apple-tab-span" style="white-space:pre">                                                           </span>\</div><div>> >  decode_netlink_ ## name(struct tcb *, const struct nlmsghdr *,<span class="gmail-Apple-tab-span" style="white-space:pre">            </span>\</div><div>> >  <span class="gmail-Apple-tab-span" style="white-space:pre">                  </span>kernel_ulong_t addr, unsigned int len)</div><div>> > +#ifdef HAVE_LINUX_CRYPTOUSER_H</div><div>> > +DECL_NETLINK(crypto);</div><div>> > +#endif</div><div>> >  DECL_NETLINK(selinux);</div><div>> >  DECL_NETLINK(sock_diag);</div><div>> </div><div>> Why decode_netlink_crypto declaration is ifdef'ed?</div><div><br></div><div>NETLINK_CRYPTO instroduced by linux kernel commit v3.0-7152-ga38f790.</div><div>netlink_crypto.c have a global guard, decode_netlink_crypto be compiler</div><div>only when have linux/cryptouser.h.</div><div><br></div><div>> </div><div>[...]</div><div><br></div><div>--</div><div>JingPiao Chen</div></div>