aboutsummaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-29 10:30:50 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-29 10:30:50 +0000
commit8924a9f2bb3ad3f3eb6e814ab0304bf7874ad47e (patch)
tree5031fd816b1df09eaa897530a37ce814bba95011 /selinux
parentbb59a35c64bcee0dea8f8fb8bed44660af4bcaf2 (diff)
downloadbusybox-w32-8924a9f2bb3ad3f3eb6e814ab0304bf7874ad47e.tar.gz
busybox-w32-8924a9f2bb3ad3f3eb6e814ab0304bf7874ad47e.tar.bz2
busybox-w32-8924a9f2bb3ad3f3eb6e814ab0304bf7874ad47e.zip
- fold recurse, depthFirst and dereference params into one param flags.
Minor size improvement (-16b for size, -24b according to bloat-o-meter). git-svn-id: svn://busybox.net/trunk/busybox@18271 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'selinux')
-rw-r--r--selinux/chcon.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c
index 72cfa93c3..0eab6864e 100644
--- a/selinux/chcon.c
+++ b/selinux/chcon.c
@@ -163,9 +163,7 @@ int chcon_main(int argc, char *argv[])
163 fname[fname_len] = '\0'; 163 fname[fname_len] = '\0';
164 164
165 if (recursive_action(fname, 165 if (recursive_action(fname,
166 option_mask32 & OPT_RECURSIVE, 166 1<<option_mask32 & OPT_RECURSIVE,
167 FALSE, /* followLinks */
168 FALSE, /* depthFirst */
169 change_filedir_context, 167 change_filedir_context,
170 change_filedir_context, 168 change_filedir_context,
171 NULL, 0) != TRUE) 169 NULL, 0) != TRUE)