I re-implemented your oneshot service you wrote in C as a shell script. I am releasing this as public domain. It is attached. I verified that this works on my system. Way simpler.
On Tue, Nov 12, 2013 at 12:26 PM, Haiqing Jiang <[email protected]>wrote: > Hi All, > > The current SEAndroid cannot support persistent seboolean WHICH means > that after reboot all sebooleans will be set to be default value. It will > be quite inconvenient if some testing require the booleans NOT be reset > after reboot. For example, the CTS test may require the phone to reboot > several time during the whole process. In that case, we should make sure > that the CTS boolean is always on after each reboot. In SELinux, there are > persistent and non-persistent sebooleans. But the implementation in > SEAndroid will be different. > > I implemented the persist seboolean in Samsung SEAndroid team. I would > like to push it to open source and require your kind reviews. Please see > the pull request in: > > https://bitbucket.org/seandroid/external-libselinux/pull-request/4/ > persistent-booleans-after-reboot/diff > and > https://bitbucket.org/seandroid/system-core/pull-request/12/persistent- > booleans-after-reboot/diff > > -- > Thanks, > > Haiqing Jiang > > -- Respectfully, William C Roberts
reloadbools
Description: Binary data
