Revision 1c0d52b9b5e6ca277c13d6fece9c34ed3159423d authored by David Daney on 02 November 2010, 00:43:07 UTC, committed by Ralf Baechle on 16 December 2010, 18:10:54 UTC
The high bits of current->personality carry settings that we don't want to clobber on each exec. Only clobber them if the lower bits that indicate either PER_LINUX or PER_LINUX32 are invalid. The clobbering prevents us from using useful bits like ADDR_NO_RANDOMIZE. Reported-by: Camm Maguire <camm@maguirefamily.org> Signed-off-by: David Daney <ddaney@caviumnetworks.com> Cc: Camm Maguire <camm@maguirefamily.org> Patchwork: https://patchwork.linux-mips.org/patch/1750/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 1d21038
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 14.1 KB |
Makefile | -rw-r--r-- | 1.9 KB |
blktrace.c | -rw-r--r-- | 42.4 KB |
ftrace.c | -rw-r--r-- | 72.1 KB |
power-traces.c | -rw-r--r-- | 337 bytes |
ring_buffer.c | -rw-r--r-- | 101.4 KB |
ring_buffer_benchmark.c | -rw-r--r-- | 10.5 KB |
trace.c | -rw-r--r-- | 103.0 KB |
trace.h | -rw-r--r-- | 21.2 KB |
trace_branch.c | -rw-r--r-- | 9.1 KB |
trace_clock.c | -rw-r--r-- | 2.7 KB |
trace_entries.h | -rw-r--r-- | 6.8 KB |
trace_event_perf.c | -rw-r--r-- | 4.0 KB |
trace_events.c | -rw-r--r-- | 35.4 KB |
trace_events_filter.c | -rw-r--r-- | 29.5 KB |
trace_export.c | -rw-r--r-- | 4.3 KB |
trace_functions.c | -rw-r--r-- | 8.1 KB |
trace_functions_graph.c | -rw-r--r-- | 34.7 KB |
trace_irqsoff.c | -rw-r--r-- | 15.3 KB |
trace_kdb.c | -rw-r--r-- | 3.0 KB |
trace_kprobe.c | -rw-r--r-- | 45.6 KB |
trace_mmiotrace.c | -rw-r--r-- | 9.0 KB |
trace_nop.c | -rw-r--r-- | 2.2 KB |
trace_output.c | -rw-r--r-- | 26.7 KB |
trace_output.h | -rw-r--r-- | 1.6 KB |
trace_printk.c | -rw-r--r-- | 4.9 KB |
trace_sched_switch.c | -rw-r--r-- | 6.8 KB |
trace_sched_wakeup.c | -rw-r--r-- | 13.8 KB |
trace_selftest.c | -rw-r--r-- | 15.6 KB |
trace_selftest_dynamic.c | -rw-r--r-- | 93 bytes |
trace_stack.c | -rw-r--r-- | 7.7 KB |
trace_stat.c | -rw-r--r-- | 8.2 KB |
trace_stat.h | -rw-r--r-- | 973 bytes |
trace_syscalls.c | -rw-r--r-- | 16.2 KB |
trace_workqueue.c | -rw-r--r-- | 7.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...