UPSTREAM: android: binder: Use octal permissions
authorHarsh Shandilya <harsh@prjkt.io>
Fri, 22 Dec 2017 14:07:02 +0000 (19:37 +0530)
committerMartijn Coenen <maco@android.com>
Tue, 17 Jul 2018 09:14:21 +0000 (11:14 +0200)
commit174562afc647adfccbae551eff9d11abf48e5217
tree87af8ddfee11da995f11c547c491b823c9dece6a
parent6b64640ca15f642226609aaea318d8466763b8fc
UPSTREAM: android: binder: Use octal permissions

checkpatch warns against the use of symbolic permissions,
this patch migrates all symbolic permissions in the binder
driver to octal permissions.

Test: debugfs nodes created by binder have the same unix
permissions prior to and after this patch was applied.

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
Cc: "Arve Hjønnevåg" <arve@android.com>
Cc: Todd Kjos <tkjos@android.com>
Cc: Martijn Coenen <maco@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 21d02ddf716669e182a13b69b4dd928cf8ef5e0f)

Change-Id: I8152fe280ead1d04d89593e813a722f9eb5def27
drivers/android/binder.c