Changeset 4815
- Timestamp:
- 10/02/08 10:09:56
(2 months ago)
- Author:
- jmowery
- Message:
merged sepol/errcodes.h change from trunk
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r4805 |
r4815 |
|
| 663 | 663 | dnl check for new error code format, added in libsepol 2.0.0 |
|---|
| 664 | 664 | AC_CHECK_HEADER([sepol/errcodes.h], |
|---|
| 665 | | sepol_new_defines="yes", |
|---|
| 666 | | sepol_new_defines="no") |
|---|
| | 665 | sepol_new_errcodes="yes", |
|---|
| | 666 | sepol_new_errcodes="no") |
|---|
| 667 | 667 | |
|---|
| 668 | 668 | AC_RUN_IFELSE( |
|---|
| … | … | |
| 908 | 908 | AC_DEFINE_UNQUOTED(SECHECKER_VERSION, "${sechecker_version}", [sechecker version]) |
|---|
| 909 | 909 | |
|---|
| 910 | | if test ${sepol_new_defines} != "yes" ; then |
|---|
| | 910 | if test ${sepol_new_errcodes} != "yes" ; then |
|---|
| 911 | 911 | AC_DEFINE(SEPOL_ENOMEM, HASHTAB_OVERFLOW, [remap of libsepol 1.x.x define to 2.x.x]) |
|---|
| 912 | 912 | AC_DEFINE(SEPOL_EEXIST, HASHTAB_PRESENT, [remap of libsepol 1.x.x define to 2.x.x]) |
|---|
| | 913 | else |
|---|
| | 914 | AC_DEFINE(HAVE_SEPOL_ERRCODES, 1, [if libsepol has errcodes.h]) |
|---|
| 913 | 915 | fi |
|---|
| 914 | 916 | if test ${sepol_new_expand_boolmap} == "yes" ; then |
|---|
| r4810 |
r4815 |
|
| 58 | 58 | #include <sepol/policydb/polcaps.h> |
|---|
| 59 | 59 | #endif |
|---|
| | 60 | #ifdef HAVE_SEPOL_ERRCODES |
|---|
| 60 | 61 | #include <sepol/errcodes.h> |
|---|
| | 62 | #endif |
|---|
| 61 | 63 | |
|---|
| 62 | 64 | #include "queue.h" |
|---|
| r4810 |
r4815 |
|
| 33 | 33 | #include <sepol/policydb/ebitmap.h> |
|---|
| 34 | 34 | #include <sepol/policydb/expand.h> |
|---|
| | 35 | #ifdef HAVE_SEPOL_ERRCODES |
|---|
| 35 | 36 | #include <sepol/errcodes.h> |
|---|
| | 37 | #endif |
|---|
| 36 | 38 | #include <qpol/policy.h> |
|---|
| 37 | 39 | #include <qpol/policy_extend.h> |
|---|
Download in other formats:
* Generating other formats may take time.