Lines Matching refs:errmsg
109 bool (*fn_validate)(char *value, char **errmsg);
195 static bool validate_bool(char *value, char **errmsg);
196 static bool validate_levelFrom(char *value, char **errmsg);
197 static bool validate_domain(char *value, char **errmsg);
198 static bool validate_type(char *value, char **errmsg);
199 static bool validate_selinux_level(char *value, char **errmsg);
200 static bool validate_uint(char *value, char **errmsg);
380 static bool validate_bool(char *value, char **errmsg) { in validate_bool() argument
386 *errmsg = "Expecting \"true\" or \"false\""; in validate_bool()
390 static bool validate_levelFrom(char *value, char **errmsg) { in validate_levelFrom() argument
394 *errmsg = "Expecting one of: \"none\", \"all\", \"app\" or \"user\""; in validate_levelFrom()
400 static bool validate_domain(char *value, char **errmsg) { in validate_domain() argument
412 *errmsg = "Expecting a valid SELinux type"; in validate_domain()
420 static bool validate_type(char *value, char **errmsg) { in validate_type() argument
433 *errmsg = "Expecting a valid SELinux type"; in validate_type()
445 *errmsg = "Missing required attribute " APP_DATA_REQUIRED_ATTRIB; in validate_type()
454 static bool validate_selinux_level(char *value, char **errmsg) { in validate_selinux_level() argument
466 *errmsg = "Expecting a valid SELinux MLS value"; in validate_selinux_level()
473 static bool validate_uint(char *value, char **errmsg) { in validate_uint() argument
479 *errmsg = "Expecting a valid unsigned integer"; in validate_uint()
506 char *errmsg = NULL; in key_map_validate() local
531 rc = m->fn_validate(value, &errmsg); in key_map_validate()
535 lineno, filename, errmsg); in key_map_validate()