aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorDan Ballard <[email protected]>2011-10-31 17:11:20 -0700
committerLinus Torvalds <[email protected]>2011-10-31 17:30:53 -0700
commit73efc0394e148d0e15583e13712637831f926720 (patch)
tree896c58a85f520bcccae4f16647cfb0f1ecd2c08e /tools/perf/scripts/python/check-perf-trace.py
parent4ff819515b203f937cc6c8a0215a37a68d1ee71f (diff)
kernel/sysctl.c: add cap_last_cap to /proc/sys/kernel
Userspace needs to know the highest valid capability of the running kernel, which right now cannot reliably be retrieved from the header files only. The fact that this value cannot be determined properly right now creates various problems for libraries compiled on newer header files which are run on older kernels. They assume capabilities are available which actually aren't. libcap-ng is one example. And we ran into the same problem with systemd too. Now the capability is exported in /proc/sys/kernel/cap_last_cap. [[email protected]: make cap_last_cap const, per Ulrich] Signed-off-by: Dan Ballard <[email protected]> Cc: Randy Dunlap <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Lennart Poettering <[email protected]> Cc: Kay Sievers <[email protected]> Cc: Ulrich Drepper <[email protected]> Cc: James Morris <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions