projects
/
platform
/
upstream
/
smack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f82cadf
)
Change apply_cipso_cb() to use proper apply_cipso_file()
author
Zofia Abramowska
<z.abramowska@samsung.com>
Tue, 8 Oct 2013 14:24:24 +0000
(16:24 +0200)
committer
Zofia Abramowska
<z.abramowska@samsung.com>
Tue, 8 Oct 2013 14:27:53 +0000
(16:27 +0200)
apply_cipso_cb() used improper apply_rules_file(). Changed this to
call apply_cipso_file() instead.
utils/common.c
patch
|
blob
|
history
diff --git
a/utils/common.c
b/utils/common.c
index
6b0f270
..
4700821
100644
(file)
--- a/
utils/common.c
+++ b/
utils/common.c
@@
-186,7
+186,7
@@
static int apply_cipso_cb(const char *fpath, const struct stat *sb, int typeflag
if (fd < 0)
return -1;
- ret = apply_
rules_file(fd, 0
) ? FTW_STOP : FTW_CONTINUE;
+ ret = apply_
cipso_file(fd
) ? FTW_STOP : FTW_CONTINUE;
close(fd);
return ret;
}