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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1504336232.16793.15.camel@gmx.de>
Date:   Sat, 02 Sep 2017 09:10:32 +0200
From:   Mike Galbraith <efault@....de>
To:     Ethan Zhao <ethan.zhao@...cle.com>, peterz@...radead.org,
        mingo@...hat.com, mcgrof@...nel.org, keescook@...omium.org
Cc:     linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
        james.puthukattukaran@...cle.com, ethan.kernel@...il.com
Subject: Re: [PATCH v2] sched: check user input value of
 sysctl_sched_time_avg

On Sat, 2017-09-02 at 14:57 +0800, Ethan Zhao wrote:
> System will hang if user set sysctl_sched_time_avg to 0 by
> 
> [root@XXX ~]# sysctl kernel.sched_time_avg_ms=0

What's wrong with using proc_dointvec_minmax?

	-Mike

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ