2010-07-16 16:12:05

by chihau Chau

[permalink] [raw]
Subject: [PATCH] Security: capability: code style issue

From: Chihau Chau <[email protected]>

This fix a little code style issue deleting a space between a function
name and a open parenthesis.

Signed-off-by: Chihau Chau <[email protected]>
---
security/capability.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/security/capability.c b/security/capability.c
index 8168e3e..1383ad2 100644
--- a/security/capability.c
+++ b/security/capability.c
@@ -27,7 +27,7 @@ static int cap_quota_on(struct dentry *dentry)
return 0;
}

-static int cap_bprm_check_security (struct linux_binprm *bprm)
+static int cap_bprm_check_security(struct linux_binprm *bprm)
{
return 0;
}
--
1.5.6.3


2010-07-17 00:27:52

by Andrew G. Morgan

[permalink] [raw]
Subject: Re: [PATCH] Security: capability: code style issue

Cheers

Acked-by: Andrew G. Morgan <[email protected]>

On Fri, Jul 16, 2010 at 9:11 AM, Chihau Chau <[email protected]> wrote:
> From: Chihau Chau <[email protected]>
>
> This fix a little code style issue deleting a space between a function
> name and a open parenthesis.
>
> Signed-off-by: Chihau Chau <[email protected]>
> ---
> ?security/capability.c | ? ?2 +-
> ?1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/security/capability.c b/security/capability.c
> index 8168e3e..1383ad2 100644
> --- a/security/capability.c
> +++ b/security/capability.c
> @@ -27,7 +27,7 @@ static int cap_quota_on(struct dentry *dentry)
> ? ? ? ?return 0;
> ?}
>
> -static int cap_bprm_check_security (struct linux_binprm *bprm)
> +static int cap_bprm_check_security(struct linux_binprm *bprm)
> ?{
> ? ? ? ?return 0;
> ?}
> --
> 1.5.6.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>

2010-07-18 22:54:29

by James Morris

[permalink] [raw]
Subject: Re: [PATCH] Security: capability: code style issue

On Fri, 16 Jul 2010, Chihau Chau wrote:

> From: Chihau Chau <[email protected]>
>
> This fix a little code style issue deleting a space between a function
> name and a open parenthesis.
>
> Signed-off-by: Chihau Chau <[email protected]>

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next

--
James Morris
<[email protected]>