git-core
git-core
"It" doesn't try to access a file. According to the log, su is invoked as `su root failed with 17: File exists` Obviously, "sh root failed with 17: File exists"...
Please, provide system debug log (logcat) on the issue and versions of Superuser/su-binary.
> 1) When compiled, this binary is about 150K, versus about 20K for the master > branch. Any idea why? I built both and the make files look the same....
I've merged gc into gc-ics, so you may use the version w/o known bugs and security issues now. Note, the merge is completely untested. (Well, it compiles at least.) >...
I've pushed the patch into both chainsdd:gc-ics and git-core:ics repos. > It looks like ChainsDD found a way to compile for ARM generic I don't know details but what I...
Got it. I forgot to test w/ non-root credentials. Could you test the following: move call to populate_environment(ctx) from line 378 to line 535 where it shall look like populate_environment(&ctx)...
> What is the trick? The reason is explained there. The workaround is to pass LD_LIBRARY_PATH over su.
> I think our line numbers are a bit off. I checked ChainsDD:gc-ics:su.c in the github source browser again. It shows populate_environment is on line 378. Oops, wait, this stupid...
It's quite legally to change identity from one uid to another. Superuser still asks a user for permissions though. It has been shown in built-in usage test, by the way.
Well, you've caught a bug in su. My congratulations if it's your first su bug. Will try fix this soon. (BTW, I guess it might be already fixed in current...