28m
awarded Self-Learner
30m
revised shm_open() fails with EINVAL when creating shared memory in subdirectory of /dev/shm
Problem specifically in GNU libc. Should be tagged as such.
1h
revised shm_open() fails with EINVAL when creating shared memory in subdirectory of /dev/shm
spelling : CNU -> GNU
2h
revised shm_open() fails with EINVAL when creating shared memory in subdirectory of /dev/shm
added 28 characters in body
2h
comment shm_open() fails with EINVAL when creating shared memory in subdirectory of /dev/shm
@Nemo Use of strace is a good suggestions. Thankfully, this large app, is one I'm writing, so I can do better by just attaching the debugger. About the leading '/', now that I've read the glibc code, I can say it will not make any difference. The first thing they do is remove all leading '/' characters. The implementation is in file sysdeps/unix/sysv/linux/shm_open.c. Thanks.
2h
comment shm_open() fails with EINVAL when creating shared memory in subdirectory of /dev/shm
Funny how it happens. Just when I'm about to give up, I find the answer.
2h
comment shm_open() fails with EINVAL when creating shared memory in subdirectory of /dev/shm
@Nemo Thanks, that confirms what I just found reading the glibc source and bug trackers is not a POSIX violation. I guess the new "implementation definition" is no sub directories.
2h
answered shm_open() fails with EINVAL when creating shared memory in subdirectory of /dev/shm
2h
awarded Student
3h
awarded Yearling
3h
asked shm_open() fails with EINVAL when creating shared memory in subdirectory of /dev/shm
Mar
4
awarded Constituent
Feb
26
awarded Caucus
Feb
24
awarded Constituent
Feb
11
awarded Caucus
Feb
5
awarded Supporter
Jan
11
awarded Yearling
Oct
23
revised Limiting how much physical memory the kernel can manage with the "mem" environment variable
Update URL to line number 1578 with docs for mem= kernel parameter. Updated confusing wording.
Oct
20
awarded Supporter
Sep
15
awarded Supporter
1 2 3 4 5