android10为什么开不了root,为什么android不开放root权限?

Android操作系统是一个多用户Linux系统,每个应用程序都作为一个独立的用户运行,拥有唯一的Linux用户ID。系统为应用的文件设置权限,确保只有对应的应用才能访问。每个应用都在自己的虚拟机中运行,实现应用间的隔离。默认情况下,每个应用都在自己的Linux进程中运行,进程按需启动和关闭,以优化内存使用。
摘要由CSDN通过智能技术生成

为了安全

android系统会为每个app分配一个用户id,使该app只能在该用户的权限下运行,以保证其安全性。

以下来自官网(http://developer.android.com/guide/components/fundamentals.html):The Android operating system is a multi-user Linux system in which each application is a different user.By default, the system assigns each application a unique Linux user ID (the ID is used only by the system and is unknown to the application). The system sets permissions for all the files in an application so that only the user ID assigned to that application can access them.Each process has its own virtual machine (VM), so an application's code runs in isolation from other applications.By default, every application runs in its own Linux process. Android starts the process when any of the application's components need to be executed, then shuts down the process when it's no longer needed or when the system must recover memory for other applications.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值