implement intrctl set subcommand
free buf