projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add platform tweaks
[oweals/busybox.git]
/
selinux
/
chcon.c
diff --git
a/selinux/chcon.c
b/selinux/chcon.c
index 505ae4f3226b4ff01d2fd68cdd481fb0df7c659e..55c2522f66642a83a520fb951ae3981b92dbed76 100644
(file)
--- a/
selinux/chcon.c
+++ b/
selinux/chcon.c
@@
-4,6
+4,8
@@
* Port to busybox: KaiGai Kohei <kaigai@kaigai.gr.jp>
*
* Copyright (C) 2006 - 2007 KaiGai Kohei <kaigai@kaigai.gr.jp>
* Port to busybox: KaiGai Kohei <kaigai@kaigai.gr.jp>
*
* Copyright (C) 2006 - 2007 KaiGai Kohei <kaigai@kaigai.gr.jp>
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include <getopt.h>
#include <selinux/context.h>
*/
#include <getopt.h>
#include <selinux/context.h>
@@
-30,9
+32,9
@@
static char *specified_context = NULL;
static int FAST_FUNC change_filedir_context(
const char *fname,
static int FAST_FUNC change_filedir_context(
const char *fname,
- struct stat *stbuf
ATTRIBUTE_UNUSED
,
- void *userData
ATTRIBUTE_UNUSED
,
- int depth
ATTRIBUTE_UNUSED
)
+ struct stat *stbuf
UNUSED_PARAM
,
+ void *userData
UNUSED_PARAM
,
+ int depth
UNUSED_PARAM
)
{
context_t context = NULL;
security_context_t file_context = NULL;
{
context_t context = NULL;
security_context_t file_context = NULL;
@@
-125,7
+127,7
@@
static const char chcon_longopts[] ALIGN1 =
#endif
int chcon_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
#endif
int chcon_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int chcon_main(int argc
ATTRIBUTE_UNUSED
, char **argv)
+int chcon_main(int argc
UNUSED_PARAM
, char **argv)
{
char *reference_file;
char *fname;
{
char *reference_file;
char *fname;