kernel: don't ignore seek calls on first three fds; why were we doing this at all

This commit is contained in:
K. Lange 2019-12-15 15:51:37 +09:00
parent ccb2f8b695
commit 80a8ac743b

View File

@ -314,9 +314,6 @@ static int sys_execve(const char * filename, char *const argv[], char *const env
static int sys_seek(int fd, int offset, int whence) {
if (FD_CHECK(fd)) {
if (fd < 3) {
return 0;
}
switch (whence) {
case 0:
FD_OFFSET(fd) = offset;