Dmitriy Ivanov c2247478d5 Improve personality initialization
1. Personality parameter should be unsigned int (not long)
2. Do not reset bits outside of PER_MASK when setting
   personality value.
3. Set personality for static executables.

Bug: http://b/21900686
Change-Id: I4c7e34079cbd59b818ce221eed325c05b9bb2303
(cherry picked from commit f643eb38c36eb63f612e20dea09fd43ac6a6b360)
2015-06-30 19:01:24 -07:00
..
2015-06-30 19:01:24 -07:00
2015-06-04 14:33:18 -07:00
2015-06-04 14:33:18 -07:00
2015-04-28 17:11:03 +01:00
2015-05-07 15:12:24 -07:00