Re: [PATCH] fix typo in assignment of fs default overflow gid

From: Eric W. Biederman
Date: Thu Dec 14 2017 - 17:32:44 EST


Wolffhardt Schwabe <wolffhardt.schwabe@xxxxxx> writes:

> fix typo in assignment of fs default overflow gid
>
> The patch remains without practical effect since
> both macros carry identical values.
> Still, it might become a problem in the future
> if (for whatever reason) the default overflow uid
> and gid differ.
> The DEFAULT_FS_OVERFLOWGID macro was previously unused.
>
> Signed-off-by: Wolffhardt Schwabe <wolffhardt.schwabe@xxxxxx>
> Signed-off-by: Anatoliy Cherepantsev <anatoliy.cherepantsev@xxxxxx>

Applied. Thank you.

Eric

> ---
> kernel/sys.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/sys.c b/kernel/sys.c
> index 83ffd7d..f2289de 100644
> --- a/kernel/sys.c
> +++ b/kernel/sys.c
> @@ -135,7 +135,7 @@ EXPORT_SYMBOL(overflowgid);
> */
>
> int fs_overflowuid = DEFAULT_FS_OVERFLOWUID;
> -int fs_overflowgid = DEFAULT_FS_OVERFLOWUID;
> +int fs_overflowgid = DEFAULT_FS_OVERFLOWGID;
>
> EXPORT_SYMBOL(fs_overflowuid);
> EXPORT_SYMBOL(fs_overflowgid);