android: binder: Use dedicated helper to access rlimit value
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Wed, 5 Jul 2017 17:24:44 +0000 (19:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 12:53:15 +0000 (14:53 +0200)
commitc3643b699fa22178dca307e4aca077ca338616cd
treef6b7ac003d5d4c7a64d9a90fd795b39fe9260174
parenta60b890f607dc6d7806afc0dc8666577faf40bb4
android: binder: Use dedicated helper to access rlimit value

Use rlimit() helper instead of manually writing whole
chain from current task to rlim_cur

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c