1. 15 Sep, 2015 3 commits
  2. 01 Jul, 2015 2 commits
  3. 11 May, 2015 1 commit
  4. 02 May, 2015 1 commit
  5. 05 Apr, 2015 1 commit
  6. 23 Mar, 2015 3 commits
  7. 21 Mar, 2015 2 commits
  8. 13 Mar, 2015 2 commits
    • Chad Jones's avatar
      Add build.config · b9a45095
      Chad Jones authored
      Bug: 19661035
      Change-Id: I859169880dea38bd16a33050957fb9c8dcd3538c
      b9a45095
    • Chad Jones's avatar
      Add build.config · 558d16c2
      Chad Jones authored
      Bug: 19661035,19715067
      Change-Id: I9efc9521df282b7866059c15d4b20b9219a32364
      558d16c2
  9. 12 Mar, 2015 4 commits
    • Rom Lemarchand's avatar
      proc: make oom adjustment files user read-only · f15de2c3
      Rom Lemarchand authored
      Make oom_adj and oom_score_adj user read-only.
      
      Bug: 19636629
      
      Conflicts:
         fs/proc/base.c
      Signed-off-by: 's avatarRom Lemarchand <romlem@google.com>
      Signed-off-by: 's avatarPatrick Tjin <pattjin@google.com>
      f15de2c3
    • Tejun Heo's avatar
      idr: fix a subtle bug in idr_get_next() · 270d37c1
      Tejun Heo authored
      commit 6cdae7416a1c45c2ce105a78187d9b7e8feb9e24 upstream.
      
      The iteration logic of idr_get_next() is borrowed mostly verbatim from
      idr_for_each().  It walks down the tree looking for the slot matching
      the current ID.  If the matching slot is not found, the ID is
      incremented by the distance of single slot at the given level and
      repeats.
      
      The implementation assumes that during the whole iteration id is aligned
      to the layer boundaries of the level closest to the leaf, which is true
      for all iterations starting from zero or an existing element and thus is
      fine for idr_for_each().
      
      However, idr_get_next() may be given any point and if the starting id
      hits in the middle of a non-existent layer, increment to the next layer
      will end up skipping the same offset into it.  For example, an IDR with
      IDs filled between [64, 127] would look like the following.
      
                [  0  64 ... ]
             /----/   |
             |        |
            NULL    [ 64 ... 127 ]
      
      If idr_get_next() is called with 63 as the starting point, it will try
      to follow down the pointer from 0.  As it is NULL, it will then try to
      proceed to the next slot in the same level by adding the slot distance
      at that level which is 64 - making the next try 127.  It goes around the
      loop and finds and returns 127 skipping [64, 126].
      
      Note that this bug also triggers in idr_for_each_entry() loop which
      deletes during iteration as deletions can make layers go away leaving
      the iteration with unaligned ID into missing layers.
      
      Fix it by ensuring proceeding to the next slot doesn't carry over the
      unaligned offset - ie.  use round_up(id + 1, slot_distance) instead of
      id += slot_distance.
      
      Bug: 19665182
      Bug: 18069309
      Bug: 19236185
      
      Change-Id: Iddd4b6fb27c39d7607bc778fc00bafe6ec289478
      Signed-off-by: 's avatarTejun Heo <tj@kernel.org>
      Reported-by: 's avatarDavid Teigland <teigland@redhat.com>
      Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Signed-off-by: 's avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: 's avatarLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: 's avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      270d37c1
    • Patrick Tjin's avatar
      Revert "Grants system server access to /proc/<pid>/oom_adj for Android applications." · 3afaab08
      Patrick Tjin authored
      This reverts commit e89b006a.
      
      Bug: 19636629
      3afaab08
    • Ed Tam's avatar
      Increase watchdog bark timeout to 45s · f75bb4f8
      Ed Tam authored
      Bug: 18759528
      f75bb4f8
  10. 05 Feb, 2015 1 commit
  11. 28 Jan, 2015 1 commit
  12. 26 Jan, 2015 1 commit
  13. 21 Jan, 2015 1 commit
  14. 07 Jan, 2015 13 commits
  15. 06 Jan, 2015 2 commits
  16. 23 Dec, 2014 2 commits