Re: [PATCH 2/2] security/capability.h: cap_issubset/isclear can be boolean

2015-11-17 Thread James Morris
On Tue, 17 Nov 2015, Yaowei Bai wrote: > This patch makes cap_issubset/isclear return bool due to these > functions only using either one or zero as their return > value. > > No functional change. > > Signed-off-by: Yaowei Bai Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/li

Re: [PATCH 2/2] security/capability.h: cap_issubset/isclear can be boolean

2015-11-17 Thread Serge E. Hallyn
On Tue, Nov 17, 2015 at 03:25:24PM +0800, Yaowei Bai wrote: > This patch makes cap_issubset/isclear return bool due to these > functions only using either one or zero as their return > value. > > No functional change. > > Signed-off-by: Yaowei Bai Acked-by: Serge Hallyn > --- > include/linux

[PATCH 2/2] security/capability.h: cap_issubset/isclear can be boolean

2015-11-16 Thread Yaowei Bai
This patch makes cap_issubset/isclear return bool due to these functions only using either one or zero as their return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/capability.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/inclu