aboutsummaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-05-26 19:00:18 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-05-26 19:00:18 +0000
commitb6adbf1be29841501cc49917249e85f273e1df7c (patch)
treee28a5603e6009b2479e949b8b9b4aa0620fed400 /selinux
parent5a6aeddfa7262e41802c77f70c9ef88e9c2c2476 (diff)
downloadbusybox-b6adbf1be29841501cc49917249e85f273e1df7c.tar.gz
busybox-b6adbf1be29841501cc49917249e85f273e1df7c.tar.bz2
usage.c: remove reference to busybox.h
*: s/include "busybox.h"/include "libbb.h"
Diffstat (limited to 'selinux')
-rw-r--r--selinux/chcon.c3
-rw-r--r--selinux/getenforce.c2
-rw-r--r--selinux/getsebool.c2
-rw-r--r--selinux/load_policy.c2
-rw-r--r--selinux/matchpathcon.c2
-rw-r--r--selinux/runcon.c3
-rw-r--r--selinux/selinuxenabled.c2
-rw-r--r--selinux/setenforce.c2
8 files changed, 10 insertions, 8 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c
index 437502c90..a8a816be0 100644
--- a/selinux/chcon.c
+++ b/selinux/chcon.c
@@ -5,10 +5,11 @@
*
* Copyright (C) 2006 - 2007 KaiGai Kohei <kaigai@kaigai.gr.jp>
*/
-#include "busybox.h"
#include <getopt.h>
#include <selinux/context.h>
+#include "libbb.h"
+
#define OPT_RECURSIVE (1<<0) /* 'R' */
#define OPT_CHANHES (1<<1) /* 'c' */
#define OPT_NODEREFERENCE (1<<2) /* 'h' */
diff --git a/selinux/getenforce.c b/selinux/getenforce.c
index 865fed9f2..62b42637c 100644
--- a/selinux/getenforce.c
+++ b/selinux/getenforce.c
@@ -6,7 +6,7 @@
*
*/
-#include "busybox.h"
+#include "libbb.h"
int getenforce_main(int argc, char **argv);
int getenforce_main(int argc, char **argv)
diff --git a/selinux/getsebool.c b/selinux/getsebool.c
index 0479598fb..b059003c1 100644
--- a/selinux/getsebool.c
+++ b/selinux/getsebool.c
@@ -6,7 +6,7 @@
*
*/
-#include "busybox.h"
+#include "libbb.h"
int getsebool_main(int argc, char **argv);
int getsebool_main(int argc, char **argv)
diff --git a/selinux/load_policy.c b/selinux/load_policy.c
index 5d5d7d5a8..5d140bc96 100644
--- a/selinux/load_policy.c
+++ b/selinux/load_policy.c
@@ -3,7 +3,7 @@
* This implementation is based on old load_policy to be small.
* Author: Yuichi Nakamura <ynakam@hitachisoft.jp>
*/
-#include "busybox.h"
+#include "libbb.h"
int load_policy_main(int argc, char **argv);
int load_policy_main(int argc, char **argv)
diff --git a/selinux/matchpathcon.c b/selinux/matchpathcon.c
index 4e33c99f1..8d681d02f 100644
--- a/selinux/matchpathcon.c
+++ b/selinux/matchpathcon.c
@@ -4,7 +4,7 @@
* Port to busybox: KaiGai Kohei <kaigai@kaigai.gr.jp>
*
*/
-#include "busybox.h"
+#include "libbb.h"
static int print_matchpathcon(char *path, int noprint)
{
diff --git a/selinux/runcon.c b/selinux/runcon.c
index 9f61fdbb6..741c7bba6 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -26,11 +26,12 @@
* Port to busybox: KaiGai Kohei <kaigai@kaigai.gr.jp>
* - based on coreutils-5.97 (in Fedora Core 6)
*/
-#include "busybox.h"
#include <getopt.h>
#include <selinux/context.h>
#include <selinux/flask.h>
+#include "libbb.h"
+
static context_t runcon_compute_new_context(char *user, char *role, char *type, char *range,
char *command, int compute_trans)
{
diff --git a/selinux/selinuxenabled.c b/selinux/selinuxenabled.c
index c93ba706f..8a9c7cd02 100644
--- a/selinux/selinuxenabled.c
+++ b/selinux/selinuxenabled.c
@@ -5,7 +5,7 @@
* Port to BusyBox Hiroshi Shinji <shiroshi@my.email.ne.jp>
*
*/
-#include "busybox.h"
+#include "libbb.h"
int selinuxenabled_main(int argc, char **argv);
int selinuxenabled_main(int argc, char **argv)
diff --git a/selinux/setenforce.c b/selinux/setenforce.c
index 9204fcc39..59b1b0fca 100644
--- a/selinux/setenforce.c
+++ b/selinux/setenforce.c
@@ -6,7 +6,7 @@
*
*/
-#include "busybox.h"
+#include "libbb.h"
/* These strings are arranged so that odd ones
* result in security_setenforce(1) being done,