mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Update.
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:
@ -1,3 +1,10 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2000-04-15 Ulrich Drepper <drepper@redhat.com>
|
2000-04-15 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
|
* sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Constants from kernel header for various FSes.
|
/* Constants from kernel header for various FSes.
|
||||||
Copyright (C) 1998, 1999 Free Software Foundation, Inc.
|
Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -98,6 +98,9 @@
|
|||||||
/* Constants that identify the `xenix' filesystem. */
|
/* Constants that identify the `xenix' filesystem. */
|
||||||
#define XENIX_SUPER_MAGIC 0x012ff7b4
|
#define XENIX_SUPER_MAGIC 0x012ff7b4
|
||||||
|
|
||||||
|
/* Constant that identifies the `shm' filesystem. */
|
||||||
|
#define SHMFS_SUPER_MAGIC 0x02011994
|
||||||
|
|
||||||
/* Maximum link counts. */
|
/* Maximum link counts. */
|
||||||
#define COH_LINK_MAX 10000
|
#define COH_LINK_MAX 10000
|
||||||
#define EXT2_LINK_MAX 32000
|
#define EXT2_LINK_MAX 32000
|
||||||
|
@ -27,14 +27,9 @@
|
|||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <sys/statfs.h>
|
#include <sys/statfs.h>
|
||||||
#include <bits/libc-lock.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. */
|
/* Mount point of the shared memory filesystem. */
|
||||||
static struct
|
static struct
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user