diff options
| author | njoly <njoly@NetBSD.org> | 2008-05-28 12:01:10 +0000 |
|---|---|---|
| committer | njoly <njoly@NetBSD.org> | 2008-05-28 12:01:10 +0000 |
| commit | 7cdbbcf80d4ae0b4dd0e6b61c41c7137c1e34fbf (patch) | |
| tree | fa0bbbb7cb5e075e6609866e894e8fa454c9c7ea /sys/compat/linux/common/linux_misc.c | |
| parent | 0c8e56007e5121e5caf311ccd6a714ba9d33724b (diff) | |
Add LINUX_TMPFS_SUPER_MAGIC, and map it to our tmpfs.
This makes sem_open/sem_unlink (POSIX named semaphores) work under
NPTL emulation.
Diffstat (limited to 'sys/compat/linux/common/linux_misc.c')
| -rw-r--r-- | sys/compat/linux/common/linux_misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_misc.c b/sys/compat/linux/common/linux_misc.c index 8b514b61527..aee9c64ea43 100644 --- a/sys/compat/linux/common/linux_misc.c +++ b/sys/compat/linux/common/linux_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_misc.c,v 1.198 2008/04/28 20:23:43 martin Exp $ */ +/* $NetBSD: linux_misc.c,v 1.199 2008/05/28 12:01:10 njoly Exp $ */ /*- * Copyright (c) 1995, 1998, 1999, 2008 The NetBSD Foundation, Inc. @@ -57,7 +57,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.198 2008/04/28 20:23:43 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.199 2008/05/28 12:01:10 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_ptrace.h" @@ -166,7 +166,7 @@ const struct linux_mnttypes linux_fstypes[] = { { MOUNT_NTFS, LINUX_DEFAULT_SUPER_MAGIC }, { MOUNT_SMBFS, LINUX_SMB_SUPER_MAGIC }, { MOUNT_PTYFS, LINUX_DEVPTS_SUPER_MAGIC }, - { MOUNT_TMPFS, LINUX_DEFAULT_SUPER_MAGIC } + { MOUNT_TMPFS, LINUX_TMPFS_SUPER_MAGIC } }; const int linux_fstypes_cnt = sizeof(linux_fstypes) / sizeof(linux_fstypes[0]); |
