find: -context support for SELinux (KaiGai Kohei <kaigai@kaigai.gr.jp>)
[oweals/busybox.git] / findutils / Config.in
index 73ce36f51e6d958077bf453ba0279654846ecfc5..50415cb5fb848625e44ab71050ab0b5ed7c95f9c 100644 (file)
@@ -30,7 +30,7 @@ config FEATURE_FIND_MTIME
          files, in days.
 
 config FEATURE_FIND_MMIN
-       bool "Enable modified time matching (-min) option"
+       bool "Enable modified time matching (-mmin) option"
        default y
        depends on FIND
        help
@@ -57,8 +57,14 @@ config FEATURE_FIND_XDEV
        default y
        depends on FIND
        help
-         This option will allow find to restrict searches to a single
-         filesystem.
+         This option allows find to restrict searches to a single filesystem.
+
+config FEATURE_FIND_MAXDEPTH
+       bool "Enable -maxdepth N option"
+       default y
+       depends on FIND
+       help
+         This option enables -maxdepth N option.
 
 config FEATURE_FIND_NEWER
        bool "Enable -newer option for comparing file mtimes"
@@ -90,6 +96,81 @@ config FEATURE_FIND_USER
        help
          Support the 'find -user' option for searching by username or uid.
 
+config FEATURE_FIND_GROUP
+       bool "Enable group/gid matching (-group) option"
+       default y
+       depends on FIND
+       help
+         Support the 'find -group' option for searching by group name or gid.
+
+config FEATURE_FIND_NOT
+       bool "Enable the 'not' (!) operator"
+       default y
+       depends on FIND
+       help
+         Support the '!' operator to invert the test results.
+         If 'Enable full-blown desktop' is enabled, then will also support
+         the non-POSIX notation '-not'.
+
+config FEATURE_FIND_DEPTH
+       bool "Enable the -depth option"
+       default y
+       depends on FIND
+       help
+         Process each directory's contents before the directory itself.
+
+config FEATURE_FIND_PAREN
+       bool "Enable parens in options"
+       default y
+       depends on FIND
+       help
+         Enable usage of parens '(' to specify logical order of arguments.
+
+config FEATURE_FIND_SIZE
+       bool "Enable (-size) option allowing matching for file size"
+       default y
+       depends on FIND
+       help
+         Support the 'find -size' option for searching by file size.
+
+config FEATURE_FIND_PRUNE
+       bool "Enable (-prune) option allowing to exclude subdirectories"
+       default y
+       depends on FIND
+       help
+         If the file is a directory, dont descend into it. Useful for
+         exclusion .svn and CVS directories.
+
+config FEATURE_FIND_DELETE
+       bool "Enable -delete option allowing to delete files"
+       default n
+       depends on FIND && FEATURE_FIND_DEPTH
+       help
+         Support the 'find -delete' option for deleting files and direcotries.
+         WARNING: This option can do much harm if used wrong. Busybox will not
+         try to protect the user from doing stupid things. Use with care.
+
+config FEATURE_FIND_PATH
+       bool "Enable -path option allowing to match pathname patterns"
+       default y
+       depends on FIND
+       help
+         The -path option matches whole pathname instead of just filename.
+
+config FEATURE_FIND_REGEX
+       bool "Enable -regex: match pathname to regex"
+       default y
+       depends on FIND
+       help
+         The -regex option matches whole pathname against regular expression.
+
+config FEATURE_FIND_CONTEXT
+       bool "Enable (-context) option for matching security context"
+       default n
+       depends on FIND && SELINUX
+       help
+         Support the 'find -context' option for matching security context.
+
 config GREP
        bool "grep"
        default n