Merge "toolbox: exit when failed to allocate buffer for ioctl" am: 16017b3fbb
am: a2c763de6f

Change-Id: I1f827779131f45444f1ed3c42ad5b6dfea14cfe5