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>] [day] [month] [year] [list]
Message-ID: <474ACAB3.4080307@gmail.com>
Date:	Mon, 26 Nov 2007 08:31:31 -0500
From:	Russell Harmon <eatnumber1@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: [PATCH] Fix for sched-cfs sysctl.

This trivial patch fixes a compilation error that occurs when 
CONFIG_FAIR_GROUP_SCHED and !CONFIG_SMP.

diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 678223a..8bebf25 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -330,7 +330,7 @@ static struct ctl_table kern_table[] = {
                .mode           = 644,
                .proc_handler   = &proc_dointvec,
        },
-#ifdef CONFIG_FAIR_GROUP_SCHED
+#if defined(CONFIG_FAIR_GROUP_SCHED) && defined(CONFIG_SMP)
        {
                .ctl_name       = CTL_UNNUMBERED,
                .procname       = "sched_min_bal_int_shares",


View attachment "fix-sched-cfs-sysctl.patch" of type "text/plain" (411 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ