Use quotactl to prevent abusive apps from using all inodes available
Make sure that we prevent malicious apps from causing DoS of the system by exhausting all available inodes. Limit apps to not use more than 50% of available inodes. This CL makes sure that upon app data preparation, we use quotctl to see inodes hard limit for the app being prepared. Test: atest CreateAppData_QuotaEnforcementSet Bug: 293301664 Flag: android.installd.flags.enable_set_inode_quotas Change-Id: Ia329aaf0b3c6c00f3d09a33d62e1131b30e4c2fa
Loading
Please register or sign in to comment