summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/uclibc/uclibc-0.9.32/mount.h-update.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-0.9.32/mount.h-update.patch')
-rw-r--r--meta/recipes-core/uclibc/uclibc-0.9.32/mount.h-update.patch85
1 files changed, 0 insertions, 85 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-0.9.32/mount.h-update.patch b/meta/recipes-core/uclibc/uclibc-0.9.32/mount.h-update.patch
deleted file mode 100644
index 3508e0ee24..0000000000
--- a/meta/recipes-core/uclibc/uclibc-0.9.32/mount.h-update.patch
+++ /dev/null
@@ -1,85 +0,0 @@
1Sync mount.h from glibc this is needed to get missing defines
2that some apps e.g. systemd are depending on
3
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5
6Upstream-Status: Pending
7
8Index: git/include/sys/mount.h
9===================================================================
10--- git.orig/include/sys/mount.h 2011-07-21 14:37:27.134255747 -0700
11+++ git/include/sys/mount.h 2011-07-21 14:39:53.844470932 -0700
12@@ -1,5 +1,5 @@
13 /* Header file for mounting/unmount Linux filesystems.
14- Copyright (C) 1996,1997,1998,1999,2000,2004 Free Software Foundation, Inc.
15+ Copyright (C) 1996-2000, 2004, 2010 Free Software Foundation, Inc.
16 This file is part of the GNU C Library.
17
18 The GNU C Library is free software; you can redistribute it and/or
19@@ -47,23 +47,46 @@
20 #define MS_REMOUNT MS_REMOUNT
21 MS_MANDLOCK = 64, /* Allow mandatory locks on an FS. */
22 #define MS_MANDLOCK MS_MANDLOCK
23- S_WRITE = 128, /* Write on file/directory/symlink. */
24-#define S_WRITE S_WRITE
25- S_APPEND = 256, /* Append-only file. */
26-#define S_APPEND S_APPEND
27- S_IMMUTABLE = 512, /* Immutable file. */
28-#define S_IMMUTABLE S_IMMUTABLE
29+ MS_DIRSYNC = 128, /* Directory modifications are synchronous. */
30+#define MS_DIRSYNC MS_DIRSYNC
31 MS_NOATIME = 1024, /* Do not update access times. */
32 #define MS_NOATIME MS_NOATIME
33 MS_NODIRATIME = 2048, /* Do not update directory access times. */
34 #define MS_NODIRATIME MS_NODIRATIME
35 MS_BIND = 4096, /* Bind directory at different place. */
36 #define MS_BIND MS_BIND
37+ MS_MOVE = 8192,
38+#define MS_MOVE MS_MOVE
39+ MS_REC = 16384,
40+#define MS_REC MS_REC
41+ MS_SILENT = 32768,
42+#define MS_SILENT MS_SILENT
43+ MS_POSIXACL = 1 << 16, /* VFS does not apply the umask. */
44+#define MS_POSIXACL MS_POSIXACL
45+ MS_UNBINDABLE = 1 << 17, /* Change to unbindable. */
46+#define MS_UNBINDABLE MS_UNBINDABLE
47+ MS_PRIVATE = 1 << 18, /* Change to private. */
48+#define MS_PRIVATE MS_PRIVATE
49+ MS_SLAVE = 1 << 19, /* Change to slave. */
50+#define MS_SLAVE MS_SLAVE
51+ MS_SHARED = 1 << 20, /* Change to shared. */
52+#define MS_SHARED MS_SHARED
53+ MS_RELATIME = 1 << 21, /* Update atime relative to mtime/ctime. */
54+#define MS_RELATIME MS_RELATIME
55+ MS_KERNMOUNT = 1 << 22, /* This is a kern_mount call. */
56+#define MS_KERNMOUNT MS_KERNMOUNT
57+ MS_I_VERSION = 1 << 23, /* Update inode I_version field. */
58+#define MS_I_VERSION MS_I_VERSION
59+ MS_STRICTATIME = 1 << 24, /* Always perform atime updates. */
60+#define MS_STRICTATIME MS_STRICTATIME
61+ MS_ACTIVE = 1 << 30,
62+#define MS_ACTIVE MS_ACTIVE
63+ MS_NOUSER = 1 << 31
64+#define MS_NOUSER MS_NOUSER
65 };
66
67 /* Flags that can be altered by MS_REMOUNT */
68-#define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_NOATIME \
69- |MS_NODIRATIME)
70+#define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION)
71
72
73 /* Magic mount flag number. Has to be or-ed to the flag values. */
74@@ -100,8 +123,10 @@
75 #define MNT_FORCE MNT_FORCE
76 MNT_DETACH = 2, /* Just detach from the tree. */
77 #define MNT_DETACH MNT_DETACH
78- MNT_EXPIRE = 4 /* Mark for expiry. */
79+ MNT_EXPIRE = 4, /* Mark for expiry. */
80 #define MNT_EXPIRE MNT_EXPIRE
81+ UMOUNT_NOFOLLOW = 8 /* Don't follow symlink on umount. */
82+#define UMOUNT_NOFOLLOW UMOUNT_NOFOLLOW
83 };
84
85