inline: support kernel_attr_ro