~ubuntu-branches/ubuntu/vivid/aufs/vivid

« back to all changes in this revision

Viewing changes to Kconfig.in

  • Committer: Bazaar Package Importer
  • Author(s): Julian Andres Klode
  • Date: 2008-08-21 14:58:54 UTC
  • mfrom: (1.1.8 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080821145854-4b49x09r4zmvlk5o
Tags: 0+20080719-4
01_vserver_apparmor.dpatch: [UPDATE] Disable vserver patches on kernel 
2.6.26, because they are not needed anymore. (Closes: #495921)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
 
/* $Id: Kconfig.in,v 1.35 2008/06/02 02:33:57 sfjro Exp $ */
 
2
/* $Id: Kconfig.in,v 1.36 2008/06/30 03:47:43 sfjro Exp $ */
3
3
 
4
4
#include <linux/version.h>
5
 
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
 
5
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 18)
6
6
#include <linux/utsrelease.h>
7
7
#endif
8
8
 
73
73
comment "SYSFS and AUFS_STAT are disabled"
74
74
        depends on SYSFS = n
75
75
 
76
 
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
 
76
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 18)
77
77
config AUFS_SYSAUFS
78
78
        bool "Use <sysfs>/fs/aufs"
79
79
        depends on SYSFS
89
89
        depends on SYSFS = n
90
90
#endif
91
91
 
92
 
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
 
92
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 18)
93
93
config AUFS_HINOTIFY
94
94
        bool "Use inotify to detect actions on a branch"
95
95
        depends on INOTIFY
104
104
        depends on INOTIFY = n
105
105
#endif
106
106
 
107
 
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
 
107
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 18)
108
108
config AUFS_EXPORT
109
109
        bool "NFS-exportable aufs"
110
110
        depends on (AUFS = y && EXPORTFS = y) || (AUFS = m && EXPORTFS)
172
172
        See detail in aufs.5.
173
173
#endif
174
174
 
175
 
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
 
175
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
176
176
config AUFS_SEC_PERM_PATCH
177
177
        bool "sec_perm-2.6.24.patch was applied or not"
178
178
        depends on AUFS = m
189
189
        depends on SECURITY = n
190
190
#endif
191
191
 
192
 
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
 
192
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23)
193
193
config AUFS_SPLICE_PATCH
194
194
        bool "splice.patch for sendfile(2) and splice(2)"
195
195
        help
201
201
        global and exports them to modules.
202
202
#endif
203
203
 
204
 
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
 
204
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19)
205
205
config AUFS_PUT_FILP_PATCH
206
206
        bool "put_filp.patch for NFS branch"
207
207
        depends on AUFS = m
292
292
        The fsync_super-2.6.xx.patch does nothing but exports a kernel
293
293
        function fsync_super() to modules.
294
294
 
295
 
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17)
 
295
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 17)
296
296
config AUFS_DENY_WRITE_ACCESS_PATCH
297
297
        bool "deny_write_access.patch was applied or not"
298
298
        depends on AUFS = m
307
307
        function.
308
308
#endif
309
309
 
310
 
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16) \
311
 
        && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
 
310
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 16) \
 
311
        && LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
312
312
config AUFS_KSIZE_PATCH
313
313
        bool "ksize.patch was applied or not"
314
314
        depends on AUFS = m
391
391
 
392
392
config AUFS_UNIONFS23_PATCH
393
393
        bool "Unionfs-2.3 or later patch is applied or not (obsolete)"
 
394
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23)
 
395
        select AUFS_SPLICE_PATCH
 
396
#endif
394
397
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
395
398
        select AUFS_UNIONFS22_PATCH
396
399
#endif