summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/find.h
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2000-06-12 10:36:52 +0000
committerroberto <roberto@FreeBSD.org>2000-06-12 10:36:52 +0000
commit242d3298bd04c4d03991e421f05413f69a528c24 (patch)
treecf245e06844e43f6e894f89cf6ea17d825f4e9ad /usr.bin/find/find.h
parent777866439c6717489a266d1582e9bb2849e41c2b (diff)
downloadFreeBSD-src-242d3298bd04c4d03991e421f05413f69a528c24.zip
FreeBSD-src-242d3298bd04c4d03991e421f05413f69a528c24.tar.gz
The find -perm option currently supports an exact match,
or if the mode is preceded by a '-', it checks for a match in at least the bits specified on the command line. It is often desirable to find things with any execute or setuid or setgid bits set. PR: bin/10169 Submitted by: Monte Mitzelfelt <monte@gonefishing.org>
Diffstat (limited to 'usr.bin/find/find.h')
-rw-r--r--usr.bin/find/find.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/find/find.h b/usr.bin/find/find.h
index b6e2eab..36a9193 100644
--- a/usr.bin/find/find.h
+++ b/usr.bin/find/find.h
@@ -61,6 +61,7 @@ typedef struct _plandata {
#define F_MTFLAG 1 /* fstype */
#define F_MTTYPE 2
#define F_ATLEAST 1 /* perm */
+#define F_ANY 2 /* perm */
int flags; /* private flags */
enum ntype type; /* plan node type */
union {
OpenPOWER on IntegriCloud