 8a8be1b8c3
			
		
	
	
		8a8be1b8c3
		
	
	
	
	
		
			
			fix acquire() to cli() *before* incrementing nlock make T_SYSCALL a trap gate, not an interrupt gate sadly, various crashes if you hold down a keyboard key...
		
			
				
	
	
		
			4 lines
		
	
	
	
		
			96 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
	
		
			96 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #define O_CREATE  0x200
 | |
| #define O_RDONLY  0x000
 | |
| #define O_WRONLY  0x001
 | |
| #define O_RDWR    0x002
 |