On Sat, Oct 29, 2016 at 12:04 PM, Alexey Dobriyan <[email protected]> wrote:
> %u requires 10 characters at most not 20.
>
> Signed-off-by: Alexey Dobriyan <[email protected]>
> ---
>
>  fs/proc/base.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Looks reasonable to me, merged.  Thanks.

> --- a/fs/proc/base.c
> +++ b/fs/proc/base.c
> @@ -1243,7 +1243,7 @@ static const struct file_operations 
> proc_oom_score_adj_operations = {
>  };
>
>  #ifdef CONFIG_AUDITSYSCALL
> -#define TMPBUFLEN 21
> +#define TMPBUFLEN 11
>  static ssize_t proc_loginuid_read(struct file * file, char __user * buf,
>                                   size_t count, loff_t *ppos)
>  {

-- 
paul moore
www.paul-moore.com

--
Linux-audit mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-audit

Reply via email to