UPSTREAM: android: binder: Use octal permissions
authorHarsh Shandilya <harsh@prjkt.io>
Fri, 22 Dec 2017 14:07:02 +0000 (19:37 +0530)
committerMunjoo Kim <munjoo.kim@samsung.com>
Wed, 6 Mar 2019 04:15:36 +0000 (13:15 +0900)
commit86688886287d33c0a18c8af3a9ef2dcfbf024d25
treeb1f08b30098cd668a9731e6b20cc0bc6aef1e57b
parenta9bdb1831658d09871f7a3dec99883f8da98549b
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