Android Security Mechanism-Operating System Security Mechanism-process, user and file security

Source: Internet
Author: User

Android Security Mechanism-Operating System Security Mechanism-process, user and file security

1. process, thread

2. Multi-user and multi-user boundary (determine the resources, files, and executable operations that the user can operate and access)

3. Processes and files are differentiated by UID and GID, and operations are differentiated by rwx. Processes and files are connected by uid.

4. Use chmod to modify the operation (rwx) and chown to modify the user

 

5. UID can be divided into RealUID, inclutiveuid, and RealUID to indicate identity, which is convenient for inheritance. inclutiveuid indicates the operation capability. In general, the two are unified. For example, in the passwd process, the inclutiveuid has been changed to ROOT, while the RealUID is still the same.

6. chmod uses SetUID to change inclutiveuid to ROOT.

7. More fine-grained Capablity to determine the user's operation permissions,

Process Permitted Capability Sets, valid tive Capability Sets, and Inheritable Capability Sets

File Permitted Capability Sets, valid tive Capability Set (true or false), Inheritable Capability Sets

Determine contact by formula

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.