ttynvt: Ignore ioctls entirely in raw mode
Without this minicom Tx does not reach the server. There may be better solutions.
This commit is contained in:
@@ -794,6 +794,12 @@ ttynvt_ioctl(fuse_req_t req, int cmd, void *arg,
|
|||||||
_ioctl_name(cmd), arg, in_buf,
|
_ioctl_name(cmd), arg, in_buf,
|
||||||
(unsigned int)in_bufsz, (unsigned int)out_bufsz);
|
(unsigned int)in_bufsz, (unsigned int)out_bufsz);
|
||||||
|
|
||||||
|
if (ttynvt_param.raw)
|
||||||
|
{
|
||||||
|
fuse_reply_ioctl(req, 0, 0, 0);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch (cmd)
|
switch (cmd)
|
||||||
{
|
{
|
||||||
case TCSETSF:
|
case TCSETSF:
|
||||||
|
|||||||
Reference in New Issue
Block a user