[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] kern_ioctl() should return ENOSYS



kern_ioctl() should return ENOSYS for unhandled mode parameters (as all other filesystems do). Currently, it returns EINVAL, which causes e.g. Ffstat64() to fail with that error code (caused by sys_ffstat() only calling xfs_stat64() if the ioctl returns ENOSYS). Consequently, a command like e.g. "cat /kern/hz" returns "cat: invalid argument", which is probably not what would be expected.