lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGXu5jL-GUwgL7XLJS6=9BFuidbCAcUpDKgJV8dq41zd3yvA7A@mail.gmail.com>
Date:   Mon, 2 Jul 2018 11:41:18 -0700
From:   Kees Cook <keescook@...omium.org>
To:     Randy Dunlap <rdunlap@...radead.org>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        "Luis R. Rodriguez" <mcgrof@...nel.org>,
        Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] sysctl: fix typos in comments

On Sun, Jul 1, 2018 at 11:22 AM, Randy Dunlap <rdunlap@...radead.org> wrote:
> From: Randy Dunlap <rdunlap@...radead.org>
>
> Fix a few typos/spellos in kernel/sysctl.c.
>
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Cc: "Luis R. Rodriguez" <mcgrof@...nel.org>
> Cc: Kees Cook <keescook@...omium.org>

Acked-by: Kees Cook <keescook@...omium.org>

-Kees

> ---
>  kernel/sysctl.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> --- lnx-418-rc2.orig/kernel/sysctl.c
> +++ lnx-418-rc2/kernel/sysctl.c
> @@ -222,7 +222,7 @@ static int proc_dopipe_max_size(struct c
>                 void __user *buffer, size_t *lenp, loff_t *ppos);
>
>  #ifdef CONFIG_MAGIC_SYSRQ
> -/* Note: sysrq code uses it's own private copy */
> +/* Note: sysrq code uses its own private copy */
>  static int __sysrq_enabled = CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE;
>
>  static int sysrq_sysctl_handler(struct ctl_table *table, int write,
> @@ -1973,13 +1973,13 @@ static void warn_sysctl_write(struct ctl
>  }
>
>  /**
> - * proc_first_pos_non_zero_ignore - check if firs position is allowed
> + * proc_first_pos_non_zero_ignore - check if first position is allowed
>   * @ppos: file position
>   * @table: the sysctl table
>   *
>   * Returns true if the first position is non-zero and the sysctl_writes_strict
>   * mode indicates this is not allowed for numeric input types. String proc
> - * hadlers can ignore the return value.
> + * handlers can ignore the return value.
>   */
>  static bool proc_first_pos_non_zero_ignore(loff_t *ppos,
>                                            struct ctl_table *table)
>



-- 
Kees Cook
Pixel Security

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ