mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
macloader: Stop allowing G and O write perms to the cidfile
* Only macloader should ever write to this, but others (e.g, libbt-vendor.so) read from it. 0644 is more than enough. Change-Id: I3d2fb3dfec1ba81c9c382ed18c93114e641df4a0
This commit is contained in:
parent
ea125c30ea
commit
523971c63b
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ int main() {
|
|||
ALOGD("Change permissions of %s\n", CID_PATH);
|
||||
|
||||
fd = fileno(cidfile);
|
||||
amode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
|
||||
amode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH;
|
||||
ret = fchmod(fd, amode);
|
||||
if (ret != 0) {
|
||||
ALOGE("Can't set permissions on %s - %s\n",
|
||||
|
|
Loading…
Reference in a new issue