Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
cabaae84
Commit
cabaae84
authored
Jun 13, 2018
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MagiskSU improvements
parent
f2064a84
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
db.c
native/jni/core/db.c
+1
-1
db.h
native/jni/include/db.h
+1
-1
su
native/jni/su
+1
-1
No files found.
native/jni/core/db.c
View file @
cabaae84
...
@@ -63,7 +63,7 @@ static int strings_cb(void *v, int col_num, char **data, char **col_name) {
...
@@ -63,7 +63,7 @@ static int strings_cb(void *v, int col_num, char **data, char **col_name) {
}
}
if
(
key
>=
0
)
{
if
(
key
>=
0
)
{
strcpy
(
dbs
->
s
[
key
],
value
);
strcpy
(
dbs
->
s
[
key
],
value
);
LOGD
(
"su_db: query %s=[%s]
\n
"
,
DB_S
ETT
ING_KEYS
[
key
],
value
);
LOGD
(
"su_db: query %s=[%s]
\n
"
,
DB_S
TR
ING_KEYS
[
key
],
value
);
}
}
return
0
;
return
0
;
}
}
...
...
native/jni/include/db.h
View file @
cabaae84
...
@@ -66,7 +66,7 @@ NAMESPACE_MODE_REQUESTER \
...
@@ -66,7 +66,7 @@ NAMESPACE_MODE_REQUESTER \
// Strings indices
// Strings indices
enum
{
enum
{
SU_
REQUEST
ER
=
0
SU_
MANAG
ER
=
0
};
};
struct
db_strings
{
struct
db_strings
{
...
...
su
@
2c5a36a8
Subproject commit
a56fb9d869dd809c7339119459bfdc88c2dd840
4
Subproject commit
2c5a36a8da625079a0617c0d06f96f444c4d4bf
4
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment