Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemCore
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemCore
Commits
85b3fcc5
Commit
85b3fcc5
authored
Aug 21, 2009
by
San Mehat
Browse files
Options
Downloads
Patches
Plain Diff
system/core: vold: Change permission of external storage device nodes
Signed-off-by:
San Mehat
<
san@google.com
>
parent
e3baafd8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
vold/blkdev.c
+1
-1
1 addition, 1 deletion
vold/blkdev.c
with
1 addition
and
1 deletion
vold/blkdev.c
+
1
−
1
View file @
85b3fcc5
...
@@ -219,7 +219,7 @@ static blkdev_t *_blkdev_create(blkdev_t *disk, char *devpath, int major,
...
@@ -219,7 +219,7 @@ static blkdev_t *_blkdev_create(blkdev_t *disk, char *devpath, int major,
/* Create device nodes */
/* Create device nodes */
char
nodepath
[
255
];
char
nodepath
[
255
];
mode_t
mode
=
066
6
|
S_IFBLK
;
mode_t
mode
=
066
0
|
S_IFBLK
;
dev_t
dev
=
(
major
<<
8
)
|
minor
;
dev_t
dev
=
(
major
<<
8
)
|
minor
;
sprintf
(
nodepath
,
"%s/vold/%d:%d"
,
DEVPATH
,
major
,
minor
);
sprintf
(
nodepath
,
"%s/vold/%d:%d"
,
DEVPATH
,
major
,
minor
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment