sepolicy: updating error message for fuzzer bindings
BUG: 249122938 Test: m Change-Id: I562cc9207f821025180c647d4a07e433abb2cc6c
This commit is contained in:
parent
588ebd5e74
commit
a103fde7ea
1 changed files with 4 additions and 1 deletions
|
@ -51,7 +51,8 @@ def check_fuzzer_exists(context_file, bindings):
|
||||||
sys.exit("\nerror: Service '{0}' is being added, but we have no fuzzer on file for it. "
|
sys.exit("\nerror: Service '{0}' is being added, but we have no fuzzer on file for it. "
|
||||||
"Fuzzers are listed at $ANDROID_BUILD_TOP/system/sepolicy/build/soong/service_fuzzer_bindings.go \n\n"
|
"Fuzzers are listed at $ANDROID_BUILD_TOP/system/sepolicy/build/soong/service_fuzzer_bindings.go \n\n"
|
||||||
"NOTE: automatic service fuzzers are currently not supported in Java (b/232439254) "
|
"NOTE: automatic service fuzzers are currently not supported in Java (b/232439254) "
|
||||||
"and Rust (b/164122727). In this case, please ignore this for now. \n\n"
|
"and Rust (b/164122727). In this case, please ignore this for now and add an entry for your"
|
||||||
|
"new service in service_fuzzer_bindings.go \n\n"
|
||||||
"If you are writing a new service, it may be subject to attack from other "
|
"If you are writing a new service, it may be subject to attack from other "
|
||||||
"potentially malicious processes. A fuzzer can be written automatically "
|
"potentially malicious processes. A fuzzer can be written automatically "
|
||||||
"by adding these things: \n"
|
"by adding these things: \n"
|
||||||
|
@ -65,6 +66,8 @@ def check_fuzzer_exists(context_file, bindings):
|
||||||
"automatically filed on you. You will find out about issues without needing "
|
"automatically filed on you. You will find out about issues without needing "
|
||||||
"to backport changes years later, and the system will automatically find ways "
|
"to backport changes years later, and the system will automatically find ways "
|
||||||
"to reproduce difficult to solve issues for you. \n\n"
|
"to reproduce difficult to solve issues for you. \n\n"
|
||||||
|
"This error can be bypassed by adding entry "
|
||||||
|
"for new service in $ANDROID_BUILD_TOP/system/sepolicy/build/soong/service_fuzzer_bindings.go \n\n"
|
||||||
"- Android Fuzzing and Security teams".format(service_name))
|
"- Android Fuzzing and Security teams".format(service_name))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue