mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 21:18:23 +00:00
Revert "sim: change ownership to user ID of the calling process for shm file"
This reverts commit 03c1496e8e.
This commit is contained in:
parent
cf41dee0f6
commit
20ff96a58d
1 changed files with 0 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue