The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / uclibc / 0.9.33.2 / 0036-mount.h-update.patch
1 From 641a5356a021f90ee922229bd8e1aa6eafe152bc Mon Sep 17 00:00:00 2001
2 From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
3 Date: Fri, 18 Jan 2013 11:12:49 +0100
4 Subject: [PATCH] mount.h: update
5
6 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
7 ---
8  include/sys/mount.h |   45 +++++++++++++++++++++++++++++++++++----------
9  1 file changed, 35 insertions(+), 10 deletions(-)
10
11 diff --git a/include/sys/mount.h b/include/sys/mount.h
12 index 57d440f..9eecc5a 100644
13 --- a/include/sys/mount.h
14 +++ b/include/sys/mount.h
15 @@ -1,5 +1,5 @@
16  /* Header file for mounting/unmount Linux filesystems.
17 -   Copyright (C) 1996,1997,1998,1999,2000,2004 Free Software Foundation, Inc.
18 +   Copyright (C) 1996-2000, 2004, 2010, 2012 Free Software Foundation, Inc.
19     This file is part of the GNU C Library.
20  
21     The GNU C Library is free software; you can redistribute it and/or
22 @@ -47,23 +47,46 @@ enum
23  #define MS_REMOUNT     MS_REMOUNT
24    MS_MANDLOCK = 64,            /* Allow mandatory locks on an FS.  */
25  #define MS_MANDLOCK    MS_MANDLOCK
26 -  S_WRITE = 128,               /* Write on file/directory/symlink.  */
27 -#define S_WRITE                S_WRITE
28 -  S_APPEND = 256,              /* Append-only file.  */
29 -#define S_APPEND       S_APPEND
30 -  S_IMMUTABLE = 512,           /* Immutable file.  */
31 -#define S_IMMUTABLE    S_IMMUTABLE
32 +  MS_DIRSYNC = 128,            /* Directory modifications are synchronous.  */
33 +#define MS_DIRSYNC     MS_DIRSYNC
34    MS_NOATIME = 1024,           /* Do not update access times.  */
35  #define MS_NOATIME     MS_NOATIME
36    MS_NODIRATIME = 2048,                /* Do not update directory access times.  */
37  #define MS_NODIRATIME  MS_NODIRATIME
38    MS_BIND = 4096,              /* Bind directory at different place.  */
39  #define MS_BIND                MS_BIND
40 +  MS_MOVE = 8192,
41 +#define MS_MOVE                MS_MOVE
42 +  MS_REC = 16384,
43 +#define MS_REC         MS_REC
44 +  MS_SILENT = 32768,
45 +#define MS_SILENT      MS_SILENT
46 +  MS_POSIXACL = 1 << 16,       /* VFS does not apply the umask.  */
47 +#define MS_POSIXACL    MS_POSIXACL
48 +  MS_UNBINDABLE = 1 << 17,     /* Change to unbindable.  */
49 +#define MS_UNBINDABLE  MS_UNBINDABLE
50 +  MS_PRIVATE = 1 << 18,                /* Change to private.  */
51 +#define MS_PRIVATE     MS_PRIVATE
52 +  MS_SLAVE = 1 << 19,          /* Change to slave.  */
53 +#define MS_SLAVE       MS_SLAVE
54 +  MS_SHARED = 1 << 20,         /* Change to shared.  */
55 +#define MS_SHARED      MS_SHARED
56 +  MS_RELATIME = 1 << 21,       /* Update atime relative to mtime/ctime.  */
57 +#define MS_RELATIME    MS_RELATIME
58 +  MS_KERNMOUNT = 1 << 22,      /* This is a kern_mount call.  */
59 +#define MS_KERNMOUNT   MS_KERNMOUNT
60 +  MS_I_VERSION =  1 << 23,     /* Update inode I_version field.  */
61 +#define MS_I_VERSION   MS_I_VERSION
62 +  MS_STRICTATIME = 1 << 24,    /* Always perform atime updates.  */
63 +#define MS_STRICTATIME MS_STRICTATIME
64 +  MS_ACTIVE = 1 << 30,
65 +#define MS_ACTIVE      MS_ACTIVE
66 +  MS_NOUSER = 1 << 31
67 +#define MS_NOUSER      MS_NOUSER
68  };
69  
70  /* Flags that can be altered by MS_REMOUNT  */
71 -#define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_NOATIME \
72 -                    |MS_NODIRATIME)
73 +#define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION)
74  
75  
76  /* Magic mount flag number. Has to be or-ed to the flag values.  */
77 @@ -100,8 +123,10 @@ enum
78  #define MNT_FORCE MNT_FORCE
79    MNT_DETACH = 2,              /* Just detach from the tree.  */
80  #define MNT_DETACH MNT_DETACH
81 -  MNT_EXPIRE = 4               /* Mark for expiry.  */
82 +  MNT_EXPIRE = 4,              /* Mark for expiry.  */
83  #define MNT_EXPIRE MNT_EXPIRE
84 +  UMOUNT_NOFOLLOW = 8          /* Don't follow symlink on umount.  */
85 +#define UMOUNT_NOFOLLOW UMOUNT_NOFOLLOW
86  };
87  
88  
89 -- 
90 1.7.10.4
91