1. 程式人生 > >為mediaserver增加定製許可權

為mediaserver增加定製許可權

[email protected]:~/work3/0PRJ-TOSHIBA/WBWxxxxA_0101/alps_new$ cd device/mediatek/common/sepolicy/
[email protected]:~/work3/0PRJ-TOSHIBA/WBWxxxxA_0101/alps_new/device/mediatek/common/sepolicy$ ls
aal.te                   bootanim.te             dumpstate.te        gsm0710muxdmd2.te    keys.conf        mobile_log_d.te        nvram_backup_binder.te  resmon.te          system_server.te    volte_stack.te
adbd.te                  boot_logo_updater.te    eemcs_fsd.te        gsm0710muxd.te       keystore.te      mpud6050.te            nvram_daemon.te         ril-3gddaemon.te   tee.te              volte_ua.te
aee_core_forwarder.te    br_app_data_service.te  eemcs_mdinit.te     guiext-server.te     launchpppoe.te   msensord.te            orientationd.te         rild.te            te_macros           watchdogd.te
akmd09911.te             ccci_fsd.te             emdlogger.te        hci_attach.te        lmkd.te          mtk_6620_launcher.te   permission_check.te     runas.te           terservice.te       wifi2agps.te
akmd8963.te              ccci_mdinit.te          emmc_rw_debug.te    healthd.te           logd.te          mtk_agpsd.te           platform_app.te         s62xd.te           thermald.te         wmt_loader.te
akmd8975.te              ccci_rpcd.te            em_svr.te           hostapd.te           matv.te          mtkbt.te               poad.te                 sbchk.te           thermal_manager.te  wpa_supplicant.te
ami304d.te               clatd.te                enableswap.te       icusbd.te            mc6420d.te       MtkCodecService.te     ppl_agent.te            sdcardd.te         thermal.te          wpa.te
amigosu.te               cmddumper.te            epdg_wod.te         init_shell.te        md_ctrl.te       mtk_file.te            pppd_dt.te              service_contexts   tiny_mkswap.te      xlog.te
app.te                   debuggerd.te            factory.te          init.te              mdlogger.te      mtkrildmd2.te          pppd_via.te             servicemanager.te  tiny_swapon.te      zpppd_gprs.te
atcid.te                 device.te               file_contexts       inputflinger.te      mdnsd.te         mtkrild.te             ppp.te                  service.te         tunman.te           zygote.te
atci_service.te          dex2oat.te              file.te             installd.te          mediaserver.te   mtp.te                 pq.te                   shared_relro.te    ueventd.te
audiocmdservice_atci.te  dhcp6c.te               flashlessd.te       install_recovery.te  memsicd3416x.te  muxreport.te           program_binary.te       shell.te           uncrypt.te
autokd.te                dhcp.te                 fota1.te            ipod.te              memsicd.te       mvg_app.te             property_contexts       sn.te              untrusted_app.te
batterywarning.te        dm_agent_binder.te      fs_use              ipo_swap.te          meta_tst.te      netdiag.te             property.te             spm_loader.te      usbdongled.te
BGW.te                   dmlog.te                genfs_contexts      ipsec.te             mmc_ffu.te       netd.te                pvrsrvctl.te            st480.te           vdc.te
bluetooth.te             dnsmasq.te              geomagneticd.te     isolated_app.te      mmp.te           net.te                 racoon.te               statusd.te         viarild.te
bmm050d.te               domain.te               GoogleOtaBinder.te  ist8303.te           mnld.te          nfc.te                 radio.te                surfaceflinger.te  vold.te
bmm056d.te               drmserver.te            gpsd.te             kernel.te            mobicore.te      nvram_agent_binder.te  recovery.te             system_app.te      volte_imcb.te
[email protected]
:~/work3/0PRJ-TOSHIBA/WBWxxxxA_0101/alps_new/device/mediatek/common/sepolicy$ 

[email protected]:~/work3/0PRJ-TOSHIBA/WBWxxxxA_0101/alps_new/device/mediatek/common/sepolicy$

[email protected]:~/work3/0PRJ-TOSHIBA/WBWxxxxA_0101/alps_new/device/mediatek/common/sepolicy$cat mediaserver.te
# ==============================================

allow mediaserver debug_prop:property_service set;

相關推薦

mediaserver增加定製許可權

[email protected]:~/work3/0PRJ-TOSHIBA/WBWxxxxA_0101/alps_new$ cd device/mediatek/common/sepolicy/ [email protected]:~/work3/0P

賬號hadoop增加sudo許可權

Shell 命令可為 hadoop 使用者增加管理員許可權,方便部署,避免一些對新手來說比較棘手的許可權問題,執行:Shell 命令如下圖,找到root ALL=(ALL) ALL這行(應該在第98行,

增加列屬性方法探究

2個 http nbsp awl 一分鐘 osql 新版 滿足 scene 需求緣起 產品第一版:用戶有用戶名、密碼、昵稱等三個屬性,對應表設計: user(uid, name, passwd, nick) 第二版,產品經理增加了年齡,性別兩個屬性,表結構可能要變成: us

增加一列屬性(補充)

公司 uid dir 註意 器) name 哪些 在線 alter 事情變得有意思了,上一篇花1小時撰寫的“一分鐘”文章,又引起了廣泛的討論,說明相關的技術大家感興趣,挺好。第一次一篇技術文章的評論量過100,才知道原來“評論精選”還有100上限,甚為欣慰(雖然是以一種自己

WebClient增加Cookie的支持

程序 如果 scrip zhang com web github webclient 保存 我們經常會在應用程序中使用到WebClient模擬訪問網站資源並且進行處理,如果多次訪問之間我們希望為他們保存Cookie,換句話說,第一個請求產生的Cookie能自動帶到第二個請求

數字增加千位分隔符

urn turn pre mat code 需要 使用 console log 將普通數字加上千位分隔符在涉及金錢的業務上很常見 例如 123456.78 需要顯示為123,456.78 使用正則的方法最簡單 ``` function numFormat(num){ le

Spring-AOP增加新的功能

-a ring mat ctx implement 另一個 double tar targe 適配器的簡單應用實現:   比如:有一個類Car,在類中有兩個屬性一個為汽車名name,另一個為速度speed。其行為為run()。      現在有一輛車BMWCar 增加了GP

autoLayout 增加識別符號,方便除錯

 如上圖,是一個十分簡單的佈局。 root view 上加了一個 button 和一個 webview。 不加識別符號的樣子 檢視層級中沒有標識  只有 UIView、WKWebView 之類,如果view很多,就很難分得清。 約束沒有識別符號  只知道 uiview 和uibutton

使用Jenkins實現CocosCreator的自動化構建和釋出(6)-增加使用者許可權管理

隨著Jenkins的使用深入,會發現需要給不同的使用者配置不同的使用許可權,雖然Jenkins自帶使用者許可權管理,但比較簡單,不支援使用者組和專案的劃分,因此需要第三方外掛來實現更精細的許可權管理,使用比較廣泛的是Role Strategy Plugin外掛,可以滿足所有關於使用者和許

IIS增加svg和woff等字體格式的MIME(2003、2008)

兩種 顯示 操作 技術分享 stream 測試 本地測試 需要 分享 因客戶需求,需要在本地添加空間這樣的字體支持,客戶本地測試如下圖:線上服務顯示效果如下圖:經百度查詢後,結果如下:使用了字體文件來顯示矢量的圖標,為了能在IIS上正常顯示圖標,可以通過增加iis的MIME

點選的li顯示併增加類active,其他的li消失並去除類名,實現選項卡效果

記得引入jquery庫 <!DOCTYPE html> <html> <head> <title>選項卡實現原理</title> <script type="text/javascript" src="js/jquery.1.4.

MySQL新增新使用者、使用者建立資料庫、新使用者分配許可權

登入MySQL [[email protected]_0_2_33_centos /]#mysql -u root -p 新增新使用者 允許本地 IP 訪問 localhost, 127.0.0.1 mysql>create user 'test'@'localhost' iden

javaEE shiro框架,許可權控制。通過註解的方式方法配置訪問許可權

applicationContext.xml(Spring的核心配置檔案,開啟shiro框架的註解支援): <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.spring

Win7系統上GVimcscope增加資料庫檔案的bat檔案--記錄

::此.bat檔案使用方法: 在Win7系統的cmd.exe環境下輸入,xxx.bat Path:\xxx\yyy\zzz GVIMx 0/1,其中第二個引數是原始碼路徑,第三個引數是已開啟的GVim的例項 ::(且是空的,沒有開啟任何目錄及檔案),比如GVIM,GVIM1,GVIM2等;第四個引數控制是否在

iOS 使用objc_setAssociatedObject分類增加屬性

使用分類可以為沒有原始碼的類增加方法,但是一般不能增加屬性。如果我們為分類新增屬性的話,要手動實現所加屬性的getter和setter方法,這裡使用關聯物件的方式完成set和get方法。 我們首先了解

Ubuntu、Windows雙系統Ubuntu增加磁碟空間

  這幾天想要訓練siamese-fc,用到85g大小的ILSVRC-2015資料集,發現自己的Ubuntu系統只剩75g了,只能從Windows的硬碟中划過來一部分,步驟如下:   1.在Windows環境下,將要劃出的磁碟進行壓縮,得到未分配的磁碟;   2.將未分配

springCloud的eureka註冊中心增加訪問許可權(Springboot2.0版本)

springCloud的eureka註冊中心增加訪問許可權( Springboot2.0版本解決方案) SpringCloud元件它主要提供的模組包括:服務發現(Eureka),斷路器(Hystrix

物件增加屬性和方法()

為物件增加屬性和方法   所有物件除了都會有Object型別的屬性和方法之外,和可以增加自己的屬性和方法。下面依次記寫兩種建立物件例項並新增屬性、方法的程式碼。 第一種: var people = new Object(); people.name = "Vir

(15/24) webpack增加babel支援

Babel是什麼? Babel是一個編譯JavaScript的平臺,它的強大之處表現在可以通過編譯達到以下目的: 使用下一代的javaScript程式碼(ES6,ES7….),即使這些標準目前並未被當前的瀏覽器完全支援。 使用基於JavaScript進行了擴充套件的語言,比如React的JSX。 1.如

gitlab新建使用者、組、分支以及專案分配相應許可權

1、建立使用者 點選上面導航欄的扳手圖示,左邊Overview--Users--New user,填寫Name、Username、Email,如“zhangsan” “zhangsan” “[email protected]”。 2、修改密碼 如果配置郵箱