Fix non-syscall validate
This commit is contained in:
parent
976c086e9c
commit
10e241e982
@ -245,8 +245,6 @@ static size_t chunk_size (shm_chunk_t * chunk) {
|
||||
|
||||
|
||||
void * shm_obtain (char * path, size_t * size) {
|
||||
validate(path);
|
||||
validate(size);
|
||||
spin_lock(&bsl);
|
||||
process_t * proc = (process_t *)current_process;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user