-
Notifications
You must be signed in to change notification settings - Fork 102
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
"Segmentation fault (core dumped)" when trying to create new context #17
Comments
Based on a SO answer, I tried to debug this myself. I added the
Then, I repeated the build procedure for Linux and ran the problematic command again. The result is:
IIUC, the problematic line seems to be the one listed as
Looking at that actual code, I see:
Unfortunately, I don't know how to fix it as my I hope this repo is not abandoned, so someone can look into it. |
STR:
The result is successful.
Then, using a
sepolicy
file from unpacked Android boot.img:So, this works.
Now, I want to create a new context. For the sake of testing I name it
tezzzt
:The problem:
seplicy-inject
says it is creating the non-existing source context but for some reason this ends up with a segmentation fault. I have no clue how to fix this and how to create a new context in thesepolicy
.Please advise.
The text was updated successfully, but these errors were encountered: