Centos-kernel-stream-9/kernel
Radostin Stoyanov 3a901bcc52 cgroup: Do not report unavailable v1 controllers in /proc/cgroups
JIRA: https://issues.redhat.com/browse/RHEL-80382

commit af000ce85293b8e608f696f0c6c280bc3a75887f
Author: Michal Koutný <mkoutny@suse.com>
Date:   Mon Sep 9 18:32:23 2024 +0200

    cgroup: Do not report unavailable v1 controllers in /proc/cgroups

    This is a followup to CONFIG-urability of cpuset and memory controllers
    for v1 hierarchies. Make the output in /proc/cgroups reflect that
    !CONFIG_CPUSETS_V1 is like !CONFIG_CPUSETS and
    !CONFIG_MEMCG_V1 is like !CONFIG_MEMCG.

    The intended effect is that hiding the unavailable controllers will hint
    users not to try mounting them on v1.

    Signed-off-by: Michal Koutný <mkoutny@suse.com>
    Reviewed-by: Waiman Long <longman@redhat.com>
    Signed-off-by: Tejun Heo <tj@kernel.org>

Signed-off-by: Radostin Stoyanov <rstoyano@redhat.com>
2025-04-28 11:26:39 +01:00
..
bpf Merge: BPF 6.12 Rebase 2025-01-27 15:24:25 +01:00
cgroup cgroup: Do not report unavailable v1 controllers in /proc/cgroups 2025-04-28 11:26:39 +01:00
configs
debug
dma
entry
events kernel: be more careful about dup_mmap() failures and uprobe registering 2025-04-18 08:39:53 -04:00
futex fault-inject: improve build for CONFIG_FAULT_INJECTION=n 2024-12-17 22:59:23 +01:00
gcov
irq genirq/msi: Silence 'set affinity failed' warning 2025-02-18 09:48:09 -07:00
kcsan
livepatch livepatch: Add stack_order sysfs attribute 2025-04-03 13:23:15 -04:00
locking rtmutex: Drop rt_mutex::wait_lock before scheduling 2024-12-18 17:06:50 +01:00
module
power PM: hibernate: Use kernel_can_power_off() 2025-01-31 19:28:19 -05:00
printk printk: nbcon: Fix illegal RCU usage on thread wakeup 2025-01-06 10:33:52 -05:00
rcu rcu/kvfree: Fix data-race in __mod_timer / kvfree_call_rcu 2025-01-08 17:48:13 -05:00
sched Merge: sched: Fix stop_one_cpu_nowait() vs hotplug [rhel-9] 2025-04-24 12:23:25 -03:00
time Merge: Scheduler updates for 9.7 2025-03-12 14:53:01 -03:00
trace Merge: rtla: Add timerlat BPF sample collection, Set all tracer options by default [rhel-9] 2025-04-24 12:23:18 -03:00
.gitignore
Kconfig.freezer
Kconfig.hz
Kconfig.kexec crash: clean up kdump related config items 2024-12-23 09:35:35 +08:00
Kconfig.locks
Kconfig.preempt
Makefile Merge: RHEL9.6 drm backport dependencies 2025-01-06 08:26:14 +00:00
acct.c
async.c
audit.c
audit.h
audit_fsnotify.c
audit_tree.c
audit_watch.c
auditfilter.c
auditsc.c
backtracetest.c
bounds.c
capability.c
cfi.c
compat.c
configs.c
context_tracking.c
cpu.c
cpu_pm.c
crash_core.c Document/kexec: generalize crash hotplug description 2024-12-23 09:35:36 +08:00
crash_reserve.c crash: add prefix for crash dumping messages 2024-12-23 09:35:36 +08:00
cred.c
delayacct.c
dma.c
elfcorehdr.c crash: remove dependency of FA_DUMP on CRASH_DUMP 2024-12-23 09:35:35 +08:00
exec_domain.c
exit.c
exit.h
extable.c
fail_function.c
fork.c cgroup/cpuset: Remove cpuset_slab_spread_rotor 2025-04-28 10:54:33 +01:00
freezer.c
gen_kheaders.sh
groups.c
hung_task.c
iomem.c
irq_work.c
jump_label.c
kallsyms.c
kallsyms_internal.h
kallsyms_selftest.c
kallsyms_selftest.h
kcmp.c
kcov.c
kexec.c crash: add a new kexec flag for hotplug support 2024-12-23 09:35:36 +08:00
kexec_core.c crash: split crash dumping code out from kexec_core.c 2024-12-23 09:35:35 +08:00
kexec_elf.c
kexec_file.c kexec_file: fix elfcorehdr digest exclusion when CONFIG_CRASH_HOTPLUG=y 2024-12-23 09:35:36 +08:00
kexec_internal.h crash: remove dependency of FA_DUMP on CRASH_DUMP 2024-12-23 09:35:35 +08:00
kheaders.c
kprobes.c
ksyms_common.c
ksysfs.c crash: split crash dumping code out from kexec_core.c 2024-12-23 09:35:35 +08:00
kthread.c
latencytop.c
module_signature.c
notifier.c
nsproxy.c
padata.c padata: avoid UAF for reorder_work 2025-02-28 11:00:53 -05:00
panic.c
params.c
pid.c
pid_namespace.c
pid_sysctl.h
profile.c
ptrace.c
range.c
reboot.c
regset.c
relay.c
resource.c
resource_kunit.c
rh_messages.c
rh_messages.h [redhat] rh_messages.h: driver and device updates 2025-02-04 16:04:03 -05:00
rh_shadowman.c
rseq.c
scftorture.c
scs.c
seccomp.c
signal.c signal: restore the override_rlimit logic 2024-12-20 15:33:02 +00:00
smp.c
smpboot.c
smpboot.h
softirq.c softirq: Allow raising SCHED_SOFTIRQ from SMP-call-function on RT kernel 2024-12-11 19:37:36 +00:00
stackleak.c
stacktrace.c
static_call.c
static_call_inline.c x86/static-call: provide a way to do very early static-call updates 2025-02-18 17:58:05 +01:00
stop_machine.c
sys.c Merge: CVE-2024-50271: ucounts: Split rlimit and ucount values and max values 2025-02-03 10:00:41 -05:00
sys_ni.c
sysctl-test.c
sysctl.c
task_work.c
taskstats.c
test_kprobes.c
torture.c
tracepoint.c
tsacct.c
ucount.c signal: restore the override_rlimit logic 2024-12-20 15:33:02 +00:00
uid16.c
uid16.h
umh.c
up.c
user-return-notifier.c
user.c
user_namespace.c Merge: CVE-2024-50271: ucounts: Split rlimit and ucount values and max values 2025-02-03 10:00:41 -05:00
usermode_driver.c
utsname.c
utsname_sysctl.c
vmcore_info.c crash: split vmcoreinfo exporting code out from crash_core.c 2024-12-23 09:35:35 +08:00
watch_queue.c watch_queue: fix pipe accounting mismatch 2025-04-02 10:32:41 +02:00
watchdog.c
watchdog_hld.c
workqueue.c workqueue: Put the pwq after detaching the rescuer from the pool 2025-02-27 22:46:55 +00:00
workqueue_internal.h