Remove android.net.rtp from preloaded classes

These cause /dev/urandom to be opened as CLO_EXEC and test
android.security.cts.FileDescriptorTest#testCLOEXEC to fail.

Also added to denylist except for AudioCodec that is pulled from
somewhere.

Bug: 174053659
Test: atest ./cts/tests/tests/security/src/android/security/cts/FileDescriptorTest.java
Change-Id: I1d83a1127ef3a0dce7ba0afa7549d2e4ec8ba453
This commit is contained in:
Mathieu Chartier
2021-01-22 11:11:03 -08:00
parent 7cdfcd8a87
commit b95347ff56
2 changed files with 3 additions and 4 deletions

View File

@@ -5418,10 +5418,6 @@ android.net.nsd.INsdManager$Stub
android.net.nsd.INsdManager
android.net.nsd.NsdManager$ServiceHandler
android.net.nsd.NsdManager
android.net.rtp.AudioCodec
android.net.rtp.AudioGroup
android.net.rtp.AudioStream
android.net.rtp.RtpStream
android.net.sip.ISipService$Default
android.net.sip.ISipService$Stub$Proxy
android.net.sip.ISipService$Stub

View File

@@ -6,3 +6,6 @@ android.speech.tts.TextToSpeech$Connection$SetupConnectionAsyncTask
android.widget.Magnifier
com.android.server.BootReceiver$2
gov.nist.core.net.DefaultNetworkLayer
android.net.rtp.AudioGroup
android.net.rtp.AudioStream
android.net.rtp.RtpStream