Tom Cherry b417169d80 Reset access to system properties on reinitialization
Treat subsequent calls to __system_properties_init() as a
reinitialization of system properties and revoke access to prop files
that have been previously mapped but that the process's current context
does not have access to.  Additionally reset the no_access_ flag in
case permissions have loosened and previously unaccessible files can now
be accessed.

This is meant to work around an issue that setcon() does not revoke
mmap() mappings, so we must manually revoke them after a successful
setcon() call.

Bug 26114086

Change-Id: I4d690abb6817283ca64ac26ea4c1dad398a98fbc
2015-12-11 11:16:21 -08:00
..
2015-02-09 18:01:45 +00:00
2014-04-07 16:41:53 -07:00
2014-04-07 16:41:53 -07:00
2014-04-07 16:41:53 -07:00
2014-07-14 12:05:16 -07:00
2015-10-09 17:36:05 -07:00
2014-06-06 16:49:39 -07:00
2014-05-29 10:51:22 -07:00
2014-12-29 13:29:50 -08:00
2014-11-26 17:14:50 -08:00
2015-04-23 08:41:45 -07:00
2014-07-14 15:48:02 -07:00
2014-08-22 11:05:48 -07:00
2015-01-26 14:28:41 -08:00
2015-02-24 13:40:43 -08:00
2014-06-20 09:06:57 -07:00
2015-06-01 13:22:57 -07:00
2014-11-21 19:27:28 -08:00
2013-08-08 17:52:06 -07:00
2014-06-20 09:06:57 -07:00
2014-06-02 10:32:55 -07:00
2015-11-06 13:14:43 -08:00
2014-12-29 13:29:50 -08:00
2015-10-28 20:04:59 -07:00
2015-07-28 08:51:17 -07:00
2015-07-28 16:46:06 -07:00
2014-08-22 10:23:12 -07:00
2014-08-22 10:23:12 -07:00
2014-10-23 19:10:54 -07:00
2015-02-02 10:21:39 -08:00
2014-09-11 08:45:46 -07:00
2014-12-04 11:01:28 -08:00
2015-11-18 17:51:21 -08:00
2014-07-16 16:07:10 -07:00
2014-12-29 13:29:50 -08:00
2014-04-30 14:30:15 +01:00
2014-01-02 12:05:50 -08:00
2013-10-09 17:35:36 -07:00
2013-10-09 17:35:36 -07:00
2015-10-30 17:10:47 -07:00
2015-05-18 11:29:20 -07:00
2015-08-26 09:59:29 -07:00
2014-08-28 16:37:09 -07:00
2014-04-16 16:09:41 -07:00
2015-09-22 13:33:17 -07:00
2014-02-12 19:04:27 -08:00
2015-07-28 16:46:06 -07:00
2015-09-29 17:49:37 -07:00
2015-01-26 14:28:41 -08:00
2014-12-29 13:29:50 -08:00
2014-10-07 11:28:47 -07:00
2014-05-13 10:14:22 -07:00
2014-12-29 13:29:50 -08:00
2014-06-13 16:04:41 -07:00