kernel: don't ignore seek calls on first three fds; why were we doing this at all
This commit is contained in:
parent
ccb2f8b695
commit
80a8ac743b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user