- 1、本文档共23页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
从selinux到SeAndroid-新手30分钟入门
SEAndroid Overview For beginner 1 From SeLinux Best and short summary /business/13/11/selinux-policy-guide Why Integrity (Type Enforcement) Confidentiality (Multi Level Security) Role Based Access Control What SELinux is a security enhancement to Linux which allows users and administrators more control over access control. DAC and MAC When SELinux kernel policy is presently compiled as part of the Android build and added to the ramdisk image so that it can be loaded by init very early in boot, before mounting the system partition. Once the data partition has been mounted, policy can be updated by placing policy files under a subdirectory of /data/security, creating a symbolic link named current under /data/security to that subdirectory, and setting the selinux.reload_policy property to 1 (setprop selinux.reload_policy 1). This will trigger a reload of policy by init. Where? Kernel: Security server, Object manager, Access Vector Cache User Space: Coreutils, Policy coreutils, Checkpolicy SELinux-policy: Configuration data , Rules that govern access Traditional UNIX DAC approach Owner controls access to object File owner/group Process with effective UID/GID File mode Almighty root user above the rules SELinux MAC approach Policy controls access to objects Labeled objects (files, sockets, …) Labeled processes (domains) Policy rules Concept of “almighty” unconfined processes is defined within policy DAC of UNIX VS MAC of SELinux File owner/group: UID/GID Process effective user/group: UID/GID File mode setuid() Setuid bit File context (FC): label Process domain: label Type Enforcement (TE) rules Domain transition File context + implicit domain transition rule labels $ ls -Z /var/spool/anacron/cron.daily -rw. root root system_u:object_r:system_cron_spool_t:s0 /var/spool/anacron/cron.daily $ ps uxZ |grep /usr/sbin/atd system_u:system_r:crond_t:s0-s0:c0.c1023 root 4371 0.0 0.0 21448 212 ? Ss 2012 0:00 /usr/sbin/atd Policy Delivered via RPM packages
您可能关注的文档
- 介绍 operation management 项目管理4.ppt
- 介绍 operation management 项目管理8.ppt
- 仁爱英语九年级上册Unit4 topic1 When was it invented.ppt
- 介绍Gotta have you课件.ppt
- 介绍《Titanic》的英语.ppt
- 介绍了通过OPEN IE的方式实现S7-1200与SIMOTION D410PN之间的TCP通信的方法.doc
- 仁爱英语初中八年级下册Unit7 Topic 2 Section B课件.ppt
- 今天我们如何教语法?(上外立泰2012秋).ppt
- 今日汉语 第二十二课.ppt
- 介绍地点的中考英语作文.ppt
- 护理学相关知识复习测试卷共三套.doc
- 护理学相关知识复习试题含答案(3套).doc
- 2025届高考语文复习:补写句子 课件.pptx
- 气压带和风带对气候的影响(第1课时)(教学设计).docx
- 气压带和风带对气候影响教学设计2024-2025学年高中地理人教版(2019)选择性必修1.docx
- 《故都的秋》课件 2024-2025学年统编版高中语文必修上册.pptx
- 《屈原列传》课件 2024-2025学年统编版高中语文选择性必修中册.pptx
- 《巫溪家乡文化》课件-2024-2025学年高一语文同步备课课件(统编版必修上册).pptx
- 《苏武传》课件 2023-2024学年统编版高中语文选择性必修中册.pptx
- 郑州中控ZKTime8.3 WEB考勤软件培训文档.pptx
文档评论(0)