Commit 89404b87 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am 4abb4b98: Merge "Apply const to SELboolean array and name field."

* commit '4abb4b98':
  Apply const to SELboolean array and name field.
parents 66c0783c 4abb4b98
......@@ -203,12 +203,12 @@ extern int security_get_initial_context(const char *name,
/* Translate boolean strict to name value pair. */
typedef struct {
char *name;
const char *name;
int value;
} SELboolean;
/* save a list of booleans in a single transaction. */
extern int security_set_boolean_list(size_t boolcnt,
SELboolean * boollist, int permanent);
SELboolean * const boollist, int permanent);
/* Check the validity of a security context. */
extern int security_check_context(const security_context_t con);
......
......@@ -242,7 +242,7 @@ static void rollback(SELboolean * boollist, int end)
name));
}
int security_set_boolean_list(size_t boolcnt, SELboolean * boollist,
int security_set_boolean_list(size_t boolcnt, SELboolean * const boollist,
int permanent __attribute__((unused)))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment