aboutsummaryrefslogtreecommitdiff
path: root/selinux/setfiles.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-17 09:19:26 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-17 09:19:26 +0000
commit592d4fe7722b094b18194cdf6a692a71a116e4ca (patch)
treeb8a85f1bf16d7e791fe65e1231fe24eb70501162 /selinux/setfiles.c
parent4866e905d7e1f11d86374fad4e46aa2bd669c2ba (diff)
downloadbusybox-w32-592d4fe7722b094b18194cdf6a692a71a116e4ca.tar.gz
busybox-w32-592d4fe7722b094b18194cdf6a692a71a116e4ca.tar.bz2
busybox-w32-592d4fe7722b094b18194cdf6a692a71a116e4ca.zip
selinux/*: -Wunused-parameter fixes
runsv: make it NOMMU-capable function old new delta startservice 291 313 +22 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 22/0) Total: 22 bytes
Diffstat (limited to 'selinux/setfiles.c')
-rw-r--r--selinux/setfiles.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/selinux/setfiles.c b/selinux/setfiles.c
index 905333f94..02bb9113f 100644
--- a/selinux/setfiles.c
+++ b/selinux/setfiles.c
@@ -99,7 +99,7 @@ enum {
99#define FLAG_R (option_mask32 & OPT_R) 99#define FLAG_R (option_mask32 & OPT_R)
100 100
101 101
102static void qprintf(const char *fmt, ...) 102static void qprintf(const char *fmt ATTRIBUTE_UNUSED, ...)
103{ 103{
104 /* quiet, do nothing */ 104 /* quiet, do nothing */
105} 105}
@@ -391,8 +391,11 @@ static int restore(const char *file)
391 * This function is called by recursive_action on each file during 391 * This function is called by recursive_action on each file during
392 * the directory traversal. 392 * the directory traversal.
393 */ 393 */
394static int apply_spec(const char *file, 394static int apply_spec(
395 struct stat *sb, void *userData, int depth) 395 const char *file,
396 struct stat *sb,
397 void *userData ATTRIBUTE_UNUSED,
398 int depth ATTRIBUTE_UNUSED)
396{ 399{
397 if (!follow_mounts) { 400 if (!follow_mounts) {
398 /* setfiles does not process across different mount points */ 401 /* setfiles does not process across different mount points */