Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I make sure my sepolicy rule has been injected? #7

Open
flyuuo9 opened this issue Jul 1, 2016 · 0 comments
Open

How can I make sure my sepolicy rule has been injected? #7

flyuuo9 opened this issue Jul 1, 2016 · 0 comments

Comments

@flyuuo9
Copy link

flyuuo9 commented Jul 1, 2016

I add a elf process in init.rc,

  1. call "sepolicy-inject -s init_shell -t system_data_file -c file -p append -l" ,it's se context is "init"
  2. adb shell and call "seinfo -A -s init_shell -t system_data_file -c file -p append" it's se contex is "init_shell", it got no append allow rule I add with sepolicy-inject

which sepolicy could allow sepolicy-inject to inject a sepolicy rule?
the device is huawei HWTIT-AL00 5.1 emui3.1Lite

@flyuuo9 flyuuo9 changed the title how can i make sure sepolicy has been injected? How can I make sure sepolicy has been injected? Jul 1, 2016
@flyuuo9 flyuuo9 changed the title How can I make sure sepolicy has been injected? How can I make sure my sepolicy rule has been injected? Jul 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant