Update thread and syscall to use local fd counter instead global one, preventing overflow
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
#include <hash.h>
|
||||
#include "threads/synch.h"
|
||||
|
||||
#define MIN_USER_FD 2
|
||||
|
||||
typedef int pid_t;
|
||||
|
||||
struct lock filesys_lock;
|
||||
|
||||
Reference in New Issue
Block a user