On Sun, 16 Apr 2017, Martin Natano wrote:
> The issue here is, that pledge("tape") does not allow to perform
> MTIOCGET on tty devices. So we should call isatty() beforehand and
> shortcut ioctl() in case the file descriptor is a tty.ok guenther@
On Sun, 16 Apr 2017, Martin Natano wrote:
> The issue here is, that pledge("tape") does not allow to perform
> MTIOCGET on tty devices. So we should call isatty() beforehand and
> shortcut ioctl() in case the file descriptor is a tty.ok guenther@