diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-10 16:58:49 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-10 16:58:49 +0000 |
commit | 49622d784672bf2f7b2fe80589714cdef5adde0c (patch) | |
tree | 892bb79b0ef031d729e688d6be4950f6d17f13b9 /include/libbb.h | |
parent | 4eb8b936cb0aeb27c3e12f9a93fc43aa1e9668f5 (diff) | |
download | busybox-w32-49622d784672bf2f7b2fe80589714cdef5adde0c.tar.gz busybox-w32-49622d784672bf2f7b2fe80589714cdef5adde0c.tar.bz2 busybox-w32-49622d784672bf2f7b2fe80589714cdef5adde0c.zip |
selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 93edbdc3f..e07fa7587 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -742,7 +742,7 @@ void *md5_end(void *resbuf, md5_ctx_t *ctx); | |||
742 | uint32_t *crc32_filltable(int endian); | 742 | uint32_t *crc32_filltable(int endian); |
743 | 743 | ||
744 | 744 | ||
745 | enum { /* DO NOT CHANGE THESE VALUES! cp.c depends on them. */ | 745 | enum { /* DO NOT CHANGE THESE VALUES! cp.c, mv.c, install.c depend on them. */ |
746 | FILEUTILS_PRESERVE_STATUS = 1, | 746 | FILEUTILS_PRESERVE_STATUS = 1, |
747 | FILEUTILS_DEREFERENCE = 2, | 747 | FILEUTILS_DEREFERENCE = 2, |
748 | FILEUTILS_RECUR = 4, | 748 | FILEUTILS_RECUR = 4, |
@@ -750,9 +750,13 @@ enum { /* DO NOT CHANGE THESE VALUES! cp.c depends on them. */ | |||
750 | FILEUTILS_INTERACTIVE = 0x10, | 750 | FILEUTILS_INTERACTIVE = 0x10, |
751 | FILEUTILS_MAKE_HARDLINK = 0x20, | 751 | FILEUTILS_MAKE_HARDLINK = 0x20, |
752 | FILEUTILS_MAKE_SOFTLINK = 0x40, | 752 | FILEUTILS_MAKE_SOFTLINK = 0x40, |
753 | #if ENABLE_SELINUX | ||
754 | FILEUTILS_PRESERVE_SECURITY_CONTEXT = 0x80, | ||
755 | FILEUTILS_SET_SECURITY_CONTEXT = 0x100 | ||
756 | #endif | ||
753 | }; | 757 | }; |
754 | #define FILEUTILS_CP_OPTSTR "pdRfils" | ||
755 | 758 | ||
759 | #define FILEUTILS_CP_OPTSTR "pdRfils" USE_SELINUX("c") | ||
756 | extern const char *applet_name; | 760 | extern const char *applet_name; |
757 | extern const char BB_BANNER[]; | 761 | extern const char BB_BANNER[]; |
758 | 762 | ||