1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00
2000-04-14  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
	SHMFS_SUPER_MAGIC.  Remove definition of SHMFS_SUPER_MAGIC.

	* sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
This commit is contained in:
Ulrich Drepper
2000-04-15 19:21:10 +00:00
parent 150f740ace
commit afdda55ad5
3 changed files with 12 additions and 7 deletions

View File

@ -27,14 +27,9 @@
#include <sys/mman.h>
#include <sys/statfs.h>
#include <bits/libc-lock.h>
#include "linux_fsinfo.h"
/* XXX Currently the Linux kernel sources do not define a super magic number
for the shmfs and the kernel assigns the value 0 to f_type. */
#ifndef SHMFS_SUPER_MAGIC
# define SHMFS_SUPER_MAGIC 0
#endif
/* Mount point of the shared memory filesystem. */
static struct
{