Advertisement
Guest User

Untitled

a guest
Jul 28th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. AutoGenerateAegisFile
  2. <!-- Aegis manifest declares the security credentials required by an
  3. application to run correctly. By default, a manifest file will be
  4. created or updated automatically as a part of build.
  5.  
  6. The detection of required credentials is based on static scan of
  7. application binaries. In some cases, the scan may not be able to
  8. detect the correct set of permissions. If this is the case, you must
  9. declare the credentials required by your application in this file.
  10.  
  11. To create a manifest file automatically as a part of build (DEFAULT):
  12.  
  13. * Make sure this file starts with the string "AutoGenerateAegisFile" (without quotes).
  14. * Alternatively, it can also be completely empty.
  15.  
  16. To provide a manifest yourself:
  17.  
  18. * List the correct credentials for the application in this file.
  19. * Some commented-out examples of often required tokens are provided.
  20. * Ensure the path to your application binary given in
  21. '<for path="/path/to/app" />' is correct.
  22. * Please do not request more credentials than what your application
  23. actually requires.
  24.  
  25. To disable manifest file:
  26.  
  27. * Replace this file with a file starting with the string "NoAegisFile" (without quotes).
  28. * Final application package will not contain a manifest.
  29.  
  30. -->
  31. <aegis>
  32. <|--request policy="setxid add"-->
  33. <request policy="set setxid not-inheritable">
  34. <credential name="UID::root" />
  35. <for path="/opt/meeTrainer/bin/brightnessHandler.sh" />
  36. </request>
  37.  
  38. <request policy="add">
  39.  
  40. <!-- Make a GSM call, send text messages (SMS). -->
  41. <!--
  42. <credential name="Cellular" />
  43. -->
  44.  
  45. <!-- Access Facebook social data. -->
  46. <!--
  47. <credential name="FacebookSocial" />
  48. -->
  49.  
  50. <!--
  51. <credential name="Location" />
  52. -->
  53.  
  54. <!-- Read access to data stored in tracker. -->
  55. <!--
  56. <credential name="TrackerReadAccess" />
  57. -->
  58.  
  59. <!-- Read and write access to data stored in tracker. -->
  60. <!--
  61. <credential name="TrackerWriteAccess" />
  62. -->
  63.  
  64. <!-- Read Location information. -->
  65. <!--
  66. <credential name="Location" />
  67. -->
  68.  
  69. <!-- Access to Audio, Multimedia and Camera. -->
  70. <!--
  71. <credential name="GRP::pulse-access" />
  72. <credential name="GRP::video" />
  73. <credential name="GRP::audio" />
  74. -->
  75.  
  76. <for path="/opt/meeTrainer/bin/meeTrainer" />
  77. <for path="applauncherd-launcher::/usr/bin/applauncherd.bin" id="" />
  78. </request>
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85. </aegis>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement