diff --git a/standard/appspawn_service.c b/standard/appspawn_service.c index e308f3ecd6895345e60ed452f685039da3d0f3f7..e372a71760ec1b1e75f0e3fdd80df3f880eec48d 100644 --- a/standard/appspawn_service.c +++ b/standard/appspawn_service.c @@ -313,11 +313,14 @@ static void GetProcessTerminationStatus(AppSpawnClientExt *appProperty) } #endif +void DisallowInternetByUid(uint32_t uid); + static void SetInternetPermission(AppSpawnClientExt *appProperty) { if (appProperty->property.setAllowInternet == 1 && appProperty->property.allowInternet == 0) { appProperty->setAllowInternet = 1; appProperty->allowInternet = 0; + DisallowInternetByUid(appProperty->property.uid); } }