Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion arch/arm/src/common/arm_hostfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@ off_t host_lseek(int fd, off_t pos, off_t offset, int whence)

int host_ioctl(int fd, int request, unsigned long arg)
{
return -ENOSYS;
/* Unsupported ioctl requests use ENOTTY so VFS can apply fallbacks. */

return -ENOTTY;
Comment thread
xiaoxiang781216 marked this conversation as resolved.
}

void host_sync(int fd)
Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/src/common/arm64_hostfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@ off_t host_lseek(int fd, off_t pos, off_t offset, int whence)

int host_ioctl(int fd, int request, unsigned long arg)
{
return -ENOSYS;
/* Unsupported ioctl requests use ENOTTY so VFS can apply fallbacks. */

return -ENOTTY;
}

void host_sync(int fd)
Expand Down
4 changes: 3 additions & 1 deletion arch/risc-v/src/common/riscv_hostfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@ off_t host_lseek(int fd, off_t pos, off_t offset, int whence)

int host_ioctl(int fd, int request, unsigned long arg)
{
return -ENOSYS;
/* Unsupported ioctl requests use ENOTTY so VFS can apply fallbacks. */

return -ENOTTY;
}

void host_sync(int fd)
Expand Down
4 changes: 3 additions & 1 deletion arch/sim/src/sim/win/sim_hostfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ nuttx_off_t host_lseek(int fd, nuttx_off_t pos, nuttx_off_t offset,

int host_ioctl(int fd, int request, unsigned long arg)
{
return -ENOSYS;
/* Unsupported ioctl requests use ENOTTY so VFS can apply fallbacks. */

return -ENOTTY;
}

/****************************************************************************
Expand Down
4 changes: 3 additions & 1 deletion arch/xtensa/src/common/xtensa_hostfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ off_t host_lseek(int fd, off_t pos, off_t offset, int whence)

int host_ioctl(int fd, int request, unsigned long arg)
{
return -ENOSYS;
/* Unsupported ioctl requests use ENOTTY so VFS can apply fallbacks. */

return -ENOTTY;
}

void host_sync(int fd)
Expand Down
Loading