setools/setools-3.3.5-nonvoid.patch
OBS User autobuild f0c00e6242 Accepting request 14277 from security:SELinux
Copy from security:SELinux/setools based on submit request 14277 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/14277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=1
2009-08-11 15:57:05 +00:00

85 lines
1.5 KiB
Diff

--- libqpol/src/module_compiler.c
+++ libqpol/src/module_compiler.c
@@ -257,6 +257,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
type_datum_t *declare_type(unsigned char primary, unsigned char isattr)
@@ -324,6 +325,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
user_datum_t *declare_user(void)
@@ -419,6 +421,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
/* Return a type_datum_t for the local avrule_decl with the given ID.
@@ -771,6 +774,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
static int require_type_or_attribute(int pass, unsigned char isattr)
@@ -828,6 +832,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
int require_type(int pass)
@@ -893,6 +898,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
int require_bool(int pass)
@@ -946,6 +952,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
int require_sens(int pass)
@@ -1014,6 +1021,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
int require_cat(int pass)
@@ -1072,6 +1080,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
static int is_scope_in_stack(scope_datum_t * scope, scope_stack_t * stack)
--- libqpol/src/policy_define.c
+++ libqpol/src/policy_define.c
@@ -1407,6 +1407,7 @@
assert(0); /* should never get here */
}
}
+ return 0;
}
avrule_t *define_cond_compute_type(int which)