From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Osmialowski Subject: Re: [RFC 5/8] kdbus: use LSM hooks in kdbus code Date: Thu, 09 Jul 2015 13:28:50 +0200 (CEST) Message-ID: References: <1436351110-5902-1-git-send-email-p.osmialowsk@samsung.com> <1436351110-5902-6-git-send-email-p.osmialowsk@samsung.com> <1436353775.2331.2.camel@samsung.com> <20150709105510.GI25971@localhost.localdomain> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: In-reply-to: <20150709105510.GI25971-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sergei Zviagintsev Cc: Lukasz Pawelczyk , Paul Moore , James Morris , Casey Schaufler , "Serge E. Hallyn" , Kees Cook , Tetsuo Handa , Stephen Smalley , Neil Brown , Mark Rustad , Greg Kroah-Hartman , Daniel Mack , David Herrmann , Djalal Harouni , Shuah Khan , Al Viro , linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Karol Lewandowski , Lukasz Skalski , Paul Osmialowski List-Id: linux-api@vger.kernel.org On Thu, 9 Jul 2015, Sergei Zviagintsev wrote: > Hi, > > On Wed, Jul 08, 2015 at 02:12:03PM +0200, Paul Osmialowski wrote: > [...] >> >> + ret = security_kdbus_bus_alloc(b); >> + if (ret) { >> + goto exit_unref; >> + } > > checkpatch.pl will complain about this > > It should but it didn't: $ scripts/checkpatch.pl 0005-kdbus-use-LSM-hooks-in-kdbus-code.patch total: 0 errors, 0 warnings, 365 lines checked 0005-kdbus-use-LSM-hooks-in-kdbus-code.patch has no obvious style problems and is ready for submission.