MCPcopy Create free account

hub / github.com/LineageOS/android_system_sepolicy / functions

Functions278 in github.com/LineageOS/android_system_sepolicy

↓ 1 callersMethod_parseTypeattributeset
(self, stmt)
tests/mini_parser.py:113
↓ 1 callersFunctionanalyze_types
tools/sepolicy-analyze/typecmp.c:157
↓ 1 callersFunctionbase_attr_for
(partition)
tests/apex_sepolicy_tests.py:181
↓ 1 callersFunctionbuild_argument_parser
()
tests/treble_labeling_tests.py:48
↓ 1 callersFunctionchange_api_level
Verifies the API version of versioned_type, and changes it to new API level. For example, change_api_level("foo_202404", "202404", "202504") wil
tools/sepolicy_generate_compat.py:68
↓ 1 callersFunctioncheckIsolatedComputeAllowed
(tctx, tclass)
tests/sepolicy_tests.py:235
↓ 1 callersFunctioncheckPermissions
(permissions)
tests/sepolicy_tests.py:241
↓ 1 callersFunctioncheck_fuzzer_exists
(context_file, bindings)
tools/fuzzer_bindings_check.py:33
↓ 1 callersFunctioncheck_line
Parses a file_contexts line and runs checks
tests/apex_sepolicy_tests.py:200
↓ 1 callersFunctioncheck_neverallows_file
tools/sepolicy-analyze/neverallow.c:459
↓ 1 callersFunctioncheck_neverallows_string
tools/sepolicy-analyze/neverallow.c:486
↓ 1 callersFunctioncheck_perm
tools/sepolicy-check.c:57
↓ 1 callersFunctioncheck_rule
* Checks to see if a rule matching the given arguments already exists. * * The format for the arguments is as follows: * * - A bare string is trea
tools/sepolicy-check.c:116
↓ 1 callersFunctioncheck_rule
Returns error message if scontext can't read the target
tests/apex_sepolicy_tests.py:127
↓ 1 callersFunctioncheck_run
(cmd, cwd=None)
tools/sepolicy_generate_compat.py:51
↓ 1 callersFunctioncompile_regex
tools/check_seapp.c:370
↓ 1 callersFunctioncreate_target_compat_modules
Creates compat modules to Android.bp. Args: bp_path: string, path to Android.bp target_ver: string, api version to generate
tools/sepolicy_generate_compat.py:88
↓ 1 callersFunctiondo_compare_and_die_on_error
tools/checkfc.c:256
↓ 1 callersFunctiondo_fc_check_and_die_on_error
tools/checkfc.c:365
↓ 1 callersFunctiondo_main
()
tools/sepolicy_filter_neverallow.py:35
↓ 1 callersFunctiondo_main
Do testing
tests/apex_sepolicy_tests.py:237
↓ 1 callersFunctiondo_main
()
tests/treble_sepolicy_tests.py:100
↓ 1 callersFunctiondo_main
Args: libpath: string, path to libsepolwrap.so
tests/sepolicy_tests.py:313
↓ 1 callersFunctiondo_main
()
tests/sepolicy_freeze_test.py:20
↓ 1 callersFunctiondo_main
(libpath)
tests/treble_labeling_tests.py:444
↓ 1 callersFunctiondo_test_data_and_die_on_error
tools/checkfc.c:290
↓ 1 callersFunctiondump_char_array
tools/checkfc.c:143
↓ 1 callersFunctionebitmap_attribute_assertion_init
tools/checkfc.c:92
↓ 1 callersMethodepilogue
(self)
tools/insertkeys.py:172
↓ 1 callersFunctionfilemode_to_assert_attrs
tools/checkfc.c:57
↓ 1 callersFunctionfind_dups
tools/sepolicy-analyze/dups.c:78
↓ 1 callersFunctionfind_partition_of_contexts
(contexts_path)
tests/treble_labeling_tests.py:215
↓ 1 callersMethodgenerateKeyMap
(self, target_build_variant, key_directory)
tools/insertkeys.py:115
↓ 1 callersFunctionget_android_build_top
()
tools/sepolicy_generate_compat.py:59
↓ 1 callersFunctionget_args
()
tools/fuzzer_bindings_check.py:81
↓ 1 callersFunctionget_args
()
tools/sepolicy_generate_compat.py:212
↓ 1 callersFunctionget_attr_bit
tools/checkfc.c:76
↓ 1 callersFunctionget_avtab_allow_rule
* print allow rule into *out buffer. * * Returns -1 on error. * Returns 0 on successfully reading an avtab entry. * Returns 1 on complete */
tests/sepol_wrap.cpp:268
↓ 1 callersFunctionget_stem_len
Returns the length of the stem.
tests/fc_sort.py:26
↓ 1 callersFunctionhandle_options
* Handle parsing and setting the global flags for the command line * options. This function calls exit on failure. * @param argc * argument count
tools/check_seapp.c:1048
↓ 1 callersFunctioninit
tools/check_seapp.c:939
↓ 1 callersFunctionis_meta
Indicates if a path contains any metacharacter.
tests/fc_sort.py:40
↓ 1 callersFunctionis_type_of_attribute_set
tools/checkfc.c:113
↓ 1 callersFunctionkey_map_validate
* Validates a key_map against a set of enforcement rules, this * function exits the application on a type that cannot be properly * checked * * @p
tools/check_seapp.c:552
↓ 1 callersFunctionlist_all_attributes
tools/sepolicy-analyze/attribute.c:70
↓ 1 callersFunctionlist_attribute
tools/sepolicy-analyze/attribute.c:30
↓ 1 callersFunctionlist_permissive
tools/sepolicy-analyze/perm.c:7
↓ 1 callersFunctionload_policy
tools/sepolicy-check.c:188
↓ 1 callersFunctionload_policy
tools/sepolicy-analyze/utils.c:25
↓ 1 callersFunctionmain
()
tools/sepolicy_generate_compat.py:239
↓ 1 callersFunctionmarkers_match
Checks if two marker lines represent the beginning and end of the same block
tools/sepolicy_filter_neverallow.py:26
↓ 1 callersFunctionmatch_path
True if path matches with the given matcher
tests/apex_sepolicy_tests.py:110
↓ 1 callersFunctionmatch_regex
tools/check_seapp.c:358
↓ 1 callersFunctionoutput
* Should be called after parsing to cause the printing of the rule_maps * stored in the ordered list, head first, which preserves the "first encounte
tools/check_seapp.c:1337
↓ 1 callersFunctionparse
* Parses the seapp_contexts file and neverallow file * and adds them to the hash table and ordered list entries * when it encounters them. * Calls
tools/check_seapp.c:1272
↓ 1 callersFunctionparse_args
()
tests/check_prop_prefix.py:34
↓ 1 callersFunctionparse_file
tools/check_seapp.c:1168
↓ 1 callersFunctionparse_line
(line)
tests/check_prop_prefix.py:27
↓ 1 callersFunctionparse_seapp_contexts_values
(line: str)
tests/treble_labeling_tests.py:233
↓ 1 callersFunctionpatch_top_half_of_latest_compat_modules
Adds top_half property to latest compat modules in Android.bp. Args: bp_path: string, path to Android.bp latest_ver: string, previou
tools/sepolicy_generate_compat.py:176
↓ 1 callersFunctionpred
(path)
tests/apex_sepolicy_tests.py:194
↓ 1 callersFunctionprint_fc
(fc, out)
tests/fc_sort.py:139
↓ 1 callersMethodprologue
(self)
tools/insertkeys.py:167
↓ 1 callersFunctionread_binary_policy
* Read binary policy file from path into the allocated pdb. * * We first read the binary policy into memory, and then we parse it to a * policydb o
tools/seamendc.c:36
↓ 1 callersFunctionread_bindings
(binding_file)
tools/fuzzer_bindings_check.py:27
↓ 1 callersFunctionread_cil_files
* read_cil_files - Initialize db and parse CIL input files. */
tools/seamendc.c:104
↓ 1 callersFunctionread_classperms
tools/sepolicy-analyze/neverallow.c:182
↓ 1 callersFunctionread_file_contexts
(file_descriptor)
tests/fc_sort.py:113
↓ 1 callersFunctionread_multiple_file_contexts
(files)
tests/fc_sort.py:122
↓ 1 callersFunctionresolveHalServerSubtype
(target)
tests/sepolicy_tests.py:223
↓ 1 callersFunctionretrieve_mapping
tools/sepolicy-analyze/attribute.c:9
↓ 1 callersFunctionrule_add
* Adds a rule to the hash table and to the ordered list if needed. * @param rm * The rule map to add. */
tools/check_seapp.c:1102
↓ 1 callersFunctionrule_map_cmp
* Compare two rule maps for equality * @param rmA * a rule map to check * @param rmB * a rule map to check * @return * a map_match enum indic
tools/check_seapp.c:628
↓ 1 callersFunctionrule_map_new
* Given a set of key value pairs, this will construct a new rule map. * On error this function calls exit. * @param keys * Keys from a rule line t
tools/check_seapp.c:814
↓ 1 callersFunctionrule_map_validate
* Checks a rule_map for any variation of KVP's that shouldn't be allowed. * It builds an assertion failure list for each rule map. * Note that this
tools/check_seapp.c:753
↓ 1 callersMethodsetup
(self, pol)
tests/policy.py:633
↓ 1 callersFunctionsort
(files)
tests/fc_sort.py:130
↓ 1 callersFunctionsystem_vendor_rule
(partition)
tests/apex_sepolicy_tests.py:190
↓ 1 callersFunctionusage
* Print the usage of the program */
tools/check_seapp.c:927
↓ 1 callersFunctionvalidate
tools/check_seapp.c:1282
↓ 1 callersFunctionvalidate_bindings
(args)
tools/fuzzer_bindings_check.py:74
↓ 1 callersFunctionwrite_binary_policy
* Write binary policy in pdb to file at path. */
tools/seamendc.c:167
MethodDomainsWithAttribute
(self, attr)
tests/policy.py:651
MethodPrintScontexts
(self)
tests/policy.py:658
Method__del__
(self)
tests/policy.py:513
Method__init__
Generates an object with Base16 and Base64 encoded versions of the keys found in the supplied pem file argument. PEM files can contai
tools/insertkeys.py:19
Method__init__
(self, keyMap, out=sys.stdout)
tools/insertkeys.py:162
Method__init__
(self, policyFile)
tests/mini_parser.py:24
Method__init__
(self, path, file_type, context, meta, stem_len, str_len, line)
tests/fc_sort.py:56
Method__init__
(self, rule)
tests/policy.py:89
Method__init__
(self, PolicyPath, FcPaths, LibPath)
tests/policy.py:507
Method__init__
(self)
tests/policy.py:527
Method__init__
(self)
tests/policy.py:540
Method__len__
(self)
tools/insertkeys.py:98
Method__lt__
(self, other)
tests/fc_sort.py:84
Method__str__
(self)
tools/insertkeys.py:101
Functionattribute_func
tools/sepolicy-analyze/attribute.c:74
Functionattribute_usage
tools/sepolicy-analyze/attribute.c:5
Functionbooleans_func
tools/sepolicy-analyze/booleans.c:16
Functionbooleans_usage
tools/sepolicy-analyze/booleans.c:3
← previousnext →101–200 of 278, ranked by callers