As for now our tmpfs is no longer being considered "highly experimental" remove /dev/shm magic commited in r218497 and convert tmpfs type to an expected magic number.
Details
Details
- Reviewers
emaste trasz - Group Reviewers
Linux Emulation - Commits
- rS283461: As for now our tmpfs is no longer being considered
rt/tst-shm test from glib-2.20
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Out of curiosity, what did the deleted parts of code used to do, and why it's no longer needed?
Comment Actions
glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for POSIX shared memory (shm_open, shm_unlink).
if /dev/shm is not mounted glibc tries (where_is_shmfs() method) all entries in /proc/mounts by statfs() sys call
and check f_type against SHMFS_SUPER_MAGIC.
So, removed code weird )))