mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Revert "sim: change ownership to user ID of the calling process for shm file"
This reverts commit 03c1496e8e.
This commit is contained in:
@@ -92,8 +92,6 @@ void *host_alloc_shmem(const char *name, size_t size, int master)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
fchown(fd, getuid(), getgid());
|
||||
|
||||
if (!master)
|
||||
{
|
||||
/* Avoid the second slave instance open successfully */
|
||||
|
||||
Reference in New Issue
Block a user