Re: [PATCH] android/binder: fix fput comment

2016-02-07 Thread Greg Kroah-Hartman
On Fri, Dec 25, 2015 at 09:47:17PM +0100, Jann Horn wrote: > Just something I noticed while looking at FD-passing code. > Didn't test the change. > > BUG_ON is intentional, if someone rewrites the code to hit > that, it can be a security issue. Never add BUG to the kernel, you just crashed the ma

[PATCH] android/binder: fix fput comment

2015-12-25 Thread Jann Horn
Just something I noticed while looking at FD-passing code. Didn't test the change. BUG_ON is intentional, if someone rewrites the code to hit that, it can be a security issue. Signed-off-by: Jann Horn --- drivers/android/binder.c | 18 ++ 1 file changed, 14 insertions(+), 4 dele