Kernel: allow open() call with O_SEARCH
This commit is contained in:
		
							parent
							
								
									eae6119039
								
							
						
					
					
						commit
						691b17e0cc
					
				|  | @ -451,7 +451,7 @@ namespace Kernel | |||
| 
 | ||||
| 	BAN::ErrorOr<int> Process::open(BAN::StringView path, int flags) | ||||
| 	{ | ||||
| 		if (flags & ~(O_RDONLY | O_WRONLY | O_NOFOLLOW)) | ||||
| 		if (flags & ~(O_RDONLY | O_WRONLY | O_NOFOLLOW | O_SEARCH)) | ||||
| 			return BAN::Error::from_errno(ENOTSUP); | ||||
| 
 | ||||
| 		BAN::String absolute_path = TRY(absolute_path_of(path)); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue