1. 02 Mar, 2012 1 commit
  2. 01 Mar, 2012 1 commit
  3. 28 Feb, 2012 3 commits
  4. 24 Feb, 2012 2 commits
  5. 03 Feb, 2012 1 commit
    • Stephen Smalley's avatar
      Extend toolbox with SE Android support. · 8290d108
      Stephen Smalley authored
      Add -Z option to ls and ps for displaying security contexts.
      Modify id to display security context.
      Add new SELinux commands: chcon, getenforce, getsebool, load_policy, restorecon, runcon, setenforce, setsebool.
      
      Change-Id: Ia20941be4a6cd706fe392fed6e38a37d880ec5f1
      8290d108
  6. 01 Feb, 2012 1 commit
    • Stephen Smalley's avatar
      Extend init and ueventd for SE Android. · e46f9d51
      Stephen Smalley authored
      Add SE Android support for init and ueventd.
      
      init:
      - Load policy at boot.
      - Set the security context for service daemons and their sockets.
      - New built-in commands: setcon, setenforce, restorecon, setsebool.
      - New option for services: seclabel.
      
      ueventd:
      - Set the security context for device directories and nodes.
      
      Change-Id: I98ed752cde503c94d99dfa5b5a47e3c33db16aac
      e46f9d51
  7. 27 Jan, 2012 1 commit
  8. 24 Jan, 2012 1 commit
  9. 23 Jan, 2012 1 commit
    • mgross's avatar
      fastboot: set the language local string · c840653e
      mgross authored
      
      Set the language local string to 0x409 (English US / en-us) such that
      fastboot will successfully read the usb descriptor serial number string.
      The usbdevfs ioctl fails when the wIndex is not initialized with the
      local for the unicode of the usb descriptor string.  usbdevfs is an
      obsolete interface and fastboot probably needs a re-write to use libusb
      like what is in adb.
      
      Change-Id: I3687f84643f53c736f14b3ae7793185d9b5cccc0
      Signed-off-by: default avatarMark D Horn <mark.d.horn@intel.com>
      c840653e
  10. 21 Jan, 2012 1 commit
  11. 18 Jan, 2012 1 commit
  12. 17 Jan, 2012 8 commits
  13. 13 Jan, 2012 1 commit
  14. 12 Jan, 2012 1 commit
  15. 11 Jan, 2012 7 commits
    • Dima Zavin's avatar
      rootdir: convert all usages of $prop to ${prop} · f90b0e04
      Dima Zavin authored
      
      Change-Id: Ic2472606e869d23c0f499a192cd7bb21ca3cf5b5
      Signed-off-by: default avatarDima Zavin <dima@android.com>
      f90b0e04
    • Dima Zavin's avatar
      init: use init's property expansion code for setprop/write · 84bf9af7
      Dima Zavin authored
      
      Change-Id: I3c284860cc8d5106ac2b086e62baeb6263873935
      Signed-off-by: default avatarDima Zavin <dima@android.com>
      84bf9af7
    • Dima Zavin's avatar
      init: delay importing files until after parsing the current file · 78a1b1fe
      Dima Zavin authored
      
      If we process the import directive inline, then the ordering of the
      commands for the "on xxx" sections would be a little unexpected. The
      init.rc files do not really have an implied  order as to which section
      appears and gets processed first. The init code itself provides that
      ordering explicitly. For the user, the expectation is that if both the
      current file and the imported file define a section (e.g. "on init"),
      then the commands in the current file will be executed first, and then
      the ones from the imported file(s).
      
      The current implementation did not do that. It processed the import
      directive inline, and thus the imported (i.e. dependent) files would
      appear first in the command lists for the sections. This created
      unintended side effects and the solution would have been to try and
      put the import lines somewhere in the middle of the init file. This
      would be difficult to notice and hard to extract the dependencies.
      
      To solve this, we add the imports to a list for each file being parsed
      and process the list after finishing parsing the file. This provides
      predictable order for imports and provides a logical flow from the
      user perspective: the currently parsed file gets to run its commands
      before the files being imported.
      
      Change-Id: I06dc35ff286314060e16b18923683cd2787269de
      Signed-off-by: default avatarDima Zavin <dima@android.com>
      78a1b1fe
    • Dima Zavin's avatar
      init: export all androidboot cmd line values as ro.boot.xx props · 5511c84a
      Dima Zavin authored
      
      Also, clean up how we initialize the ro.xx properties and process
      the kernel command line.
      
      Change-Id: Iedda6c90e31340a189171a44b2767480403354f7
      Signed-off-by: default avatarDima Zavin <dima@android.com>
      5511c84a
    • Dima Zavin's avatar
      init: import the hardware specific init file in init.rc · 3e7b7739
      Dima Zavin authored
      
      This removes the hardcoding of the file import in init and instead
      allows the init.rc file to fully control what is loaded.
      
      Change-Id: I933e5bbab57f1e8705a370d660f92c6508da94d2
      Signed-off-by: default avatarDima Zavin <dima@android.com>
      3e7b7739
    • Dima Zavin's avatar
      init: allow init file imports to use properties in names · a6235eac
      Dima Zavin authored
      
      Adds new property syntax in init files during init file filename
      expansion during the import command:
      ${prop.name}
      
      So, one can do:  import /init.${ro.hardware}.usb.rc
      
      Should convert other usages of property names to use the new function.
      
      Change-Id: I9205d7d7a2da620bc8e6b89ac0eb554fad53ded3
      Signed-off-by: default avatarDima Zavin <dima@android.com>
      a6235eac
    • Dima Zavin's avatar
      init: initialize property area early at boot · d7634c9c
      Dima Zavin authored
      
      The property service is still started later, but the property area
      and the initial boot properties are initialized before the init.rc
      file is processed. This allows init.rc files to have access to boot
      properties during parsing.
      
      Change-Id: Iae9ed1093c821831a864b39ae6bc697e62b94757
      Signed-off-by: default avatarDima Zavin <dima@android.com>
      d7634c9c
  16. 09 Jan, 2012 1 commit
  17. 29 Dec, 2011 1 commit
  18. 14 Dec, 2011 2 commits
  19. 13 Dec, 2011 4 commits
  20. 10 Dec, 2011 1 commit