Revision 5309809129ca3ab14f8bd5e5ef66c1b7686eb639 authored by Linus Torvalds on 26 September 2007, 16:16:21 UTC, committed by Linus Torvalds on 26 September 2007, 16:16:21 UTC
As Stephen Hemminger says, this is a "belt and suspenders" patch that zeroes the envp array at allocation time, even though all the users should NULL-terminate it anyway (and we've hopefully fixed everybody that doesn't do that). And we'll apparently clean the whole envp thing up for 2.6.24 anyway. But let's just be robust, and do both this *and* make sure that all users are doing the right thing. Acked-by: Stephen Hemminger <shemminger@linux-foundation.org> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 544002e
File | Mode | Size |
---|---|---|
cpu-sh2 | ||
cpu-sh2a | ||
cpu-sh3 | ||
cpu-sh4 | ||
dreamcast | ||
hd64465 | ||
landisk | ||
mpc1211 | ||
sh03 | ||
.gitignore | -rw-r--r-- | 21 bytes |
Kbuild | -rw-r--r-- | 67 bytes |
a.out.h | -rw-r--r-- | 797 bytes |
adc.h | -rw-r--r-- | 218 bytes |
addrspace.h | -rw-r--r-- | 1.4 KB |
atomic-irq.h | -rw-r--r-- | 1.3 KB |
atomic-llsc.h | -rw-r--r-- | 2.1 KB |
atomic.h | -rw-r--r-- | 2.0 KB |
auxvec.h | -rw-r--r-- | 418 bytes |
bitops.h | -rw-r--r-- | 2.9 KB |
bug.h | -rw-r--r-- | 1.8 KB |
bugs.h | -rw-r--r-- | 1.1 KB |
byteorder.h | -rw-r--r-- | 1.1 KB |
cache.h | -rw-r--r-- | 1.4 KB |
cacheflush.h | -rw-r--r-- | 1.1 KB |
checksum.h | -rw-r--r-- | 5.3 KB |
clock.h | -rw-r--r-- | 1.6 KB |
cpu-features.h | -rw-r--r-- | 962 bytes |
cputime.h | -rw-r--r-- | 109 bytes |
current.h | -rw-r--r-- | 316 bytes |
delay.h | -rw-r--r-- | 690 bytes |
device.h | -rw-r--r-- | 129 bytes |
div64.h | -rw-r--r-- | 31 bytes |
dma-mapping.h | -rw-r--r-- | 5.5 KB |
dma.h | -rw-r--r-- | 4.5 KB |
dmabrg.h | -rw-r--r-- | 497 bytes |
edosk7705.h | -rw-r--r-- | 1.1 KB |
elf.h | -rw-r--r-- | 4.1 KB |
emergency-restart.h | -rw-r--r-- | 149 bytes |
entry-macros.S | -rw-r--r-- | 457 bytes |
errno.h | -rw-r--r-- | 113 bytes |
fb.h | -rw-r--r-- | 375 bytes |
fcntl.h | -rw-r--r-- | 31 bytes |
fixmap.h | -rw-r--r-- | 3.3 KB |
flat.h | -rw-r--r-- | 730 bytes |
floppy.h | -rw-r--r-- | 6.1 KB |
freq.h | -rw-r--r-- | 476 bytes |
futex-irq.h | -rw-r--r-- | 1.8 KB |
futex.h | -rw-r--r-- | 1.8 KB |
hardirq.h | -rw-r--r-- | 410 bytes |
hd64461.h | -rw-r--r-- | 12.1 KB |
hp6xx.h | -rw-r--r-- | 1.8 KB |
hs7751rvoip.h | -rw-r--r-- | 1.9 KB |
hw_irq.h | -rw-r--r-- | 2.7 KB |
ide.h | -rw-r--r-- | 389 bytes |
io.h | -rw-r--r-- | 10.5 KB |
io_generic.h | -rw-r--r-- | 2.1 KB |
ioctl.h | -rw-r--r-- | 31 bytes |
ioctls.h | -rw-r--r-- | 4.0 KB |
ipc.h | -rw-r--r-- | 29 bytes |
ipcbuf.h | -rw-r--r-- | 634 bytes |
irq.h | -rw-r--r-- | 1.1 KB |
irq_regs.h | -rw-r--r-- | 34 bytes |
irqflags.h | -rw-r--r-- | 2.2 KB |
kdebug.h | -rw-r--r-- | 167 bytes |
kexec.h | -rw-r--r-- | 2.4 KB |
keyboard.h | -rw-r--r-- | 256 bytes |
kgdb.h | -rw-r--r-- | 2.7 KB |
kmap_types.h | -rw-r--r-- | 477 bytes |
lboxre2.h | -rw-r--r-- | 626 bytes |
linkage.h | -rw-r--r-- | 115 bytes |
local.h | -rw-r--r-- | 114 bytes |
machvec.h | -rw-r--r-- | 2.1 KB |
mc146818rtc.h | -rw-r--r-- | 151 bytes |
microdev.h | -rw-r--r-- | 3.7 KB |
mman.h | -rw-r--r-- | 617 bytes |
mmu.h | -rw-r--r-- | 1.6 KB |
mmu_context.h | -rw-r--r-- | 5.1 KB |
mmzone.h | -rw-r--r-- | 1.1 KB |
module.h | -rw-r--r-- | 892 bytes |
msgbuf.h | -rw-r--r-- | 984 bytes |
mutex.h | -rw-r--r-- | 308 bytes |
namei.h | -rw-r--r-- | 380 bytes |
page.h | -rw-r--r-- | 4.6 KB |
param.h | -rw-r--r-- | 516 bytes |
parport.h | -rw-r--r-- | 442 bytes |
pci.h | -rw-r--r-- | 3.6 KB |
percpu.h | -rw-r--r-- | 114 bytes |
pgalloc.h | -rw-r--r-- | 1.9 KB |
pgtable.h | -rw-r--r-- | 19.0 KB |
pm.h | -rw-r--r-- | 365 bytes |
poll.h | -rw-r--r-- | 30 bytes |
posix_types.h | -rw-r--r-- | 3.1 KB |
processor.h | -rw-r--r-- | 6.6 KB |
ptrace.h | -rw-r--r-- | 2.3 KB |
push-switch.h | -rw-r--r-- | 716 bytes |
r7780rp.h | -rw-r--r-- | 10.4 KB |
resource.h | -rw-r--r-- | 125 bytes |
rtc.h | -rw-r--r-- | 198 bytes |
rts7751r2d.h | -rw-r--r-- | 2.9 KB |
rwsem.h | -rw-r--r-- | 4.1 KB |
scatterlist.h | -rw-r--r-- | 734 bytes |
sci.h | -rw-r--r-- | 717 bytes |
se.h | -rw-r--r-- | 2.4 KB |
se7206.h | -rw-r--r-- | 254 bytes |
se7343.h | -rw-r--r-- | 2.6 KB |
se7722.h | -rw-r--r-- | 3.8 KB |
se7751.h | -rw-r--r-- | 2.2 KB |
se7780.h | -rw-r--r-- | 3.9 KB |
sections.h | -rw-r--r-- | 171 bytes |
segment.h | -rw-r--r-- | 159 bytes |
semaphore-helper.h | -rw-r--r-- | 2.1 KB |
semaphore.h | -rw-r--r-- | 2.7 KB |
sembuf.h | -rw-r--r-- | 706 bytes |
serial.h | -rw-r--r-- | 849 bytes |
setup.h | -rw-r--r-- | 198 bytes |
sfp-machine.h | -rw-r--r-- | 3.3 KB |
sh_bios.h | -rw-r--r-- | 536 bytes |
shmbuf.h | -rw-r--r-- | 1.1 KB |
shmin.h | -rw-r--r-- | 153 bytes |
shmparam.h | -rw-r--r-- | 629 bytes |
sigcontext.h | -rw-r--r-- | 542 bytes |
siginfo.h | -rw-r--r-- | 121 bytes |
signal.h | -rw-r--r-- | 3.4 KB |
smc37c93x.h | -rw-r--r-- | 5.5 KB |
smp.h | -rw-r--r-- | 896 bytes |
snapgear.h | -rw-r--r-- | 2.1 KB |
socket.h | -rw-r--r-- | 1.2 KB |
sockios.h | -rw-r--r-- | 473 bytes |
sparsemem.h | -rw-r--r-- | 404 bytes |
spinlock.h | -rw-r--r-- | 2.6 KB |
spinlock_types.h | -rw-r--r-- | 468 bytes |
stat.h | -rw-r--r-- | 1.6 KB |
statfs.h | -rw-r--r-- | 117 bytes |
string.h | -rw-r--r-- | 2.7 KB |
system.h | -rw-r--r-- | 7.4 KB |
systemh7751.h | -rw-r--r-- | 2.2 KB |
termbits.h | -rw-r--r-- | 4.4 KB |
termios.h | -rw-r--r-- | 2.4 KB |
thread_info.h | -rw-r--r-- | 3.7 KB |
timer.h | -rw-r--r-- | 923 bytes |
timex.h | -rw-r--r-- | 334 bytes |
titan.h | -rw-r--r-- | 398 bytes |
tlb.h | -rw-r--r-- | 406 bytes |
tlbflush.h | -rw-r--r-- | 1.9 KB |
topology.h | -rw-r--r-- | 802 bytes |
types.h | -rw-r--r-- | 1.1 KB |
uaccess.h | -rw-r--r-- | 13.7 KB |
ubc.h | -rw-r--r-- | 1.5 KB |
ucontext.h | -rw-r--r-- | 279 bytes |
unaligned.h | -rw-r--r-- | 171 bytes |
unistd.h | -rw-r--r-- | 10.3 KB |
user.h | -rw-r--r-- | 2.3 KB |
voyagergx.h | -rw-r--r-- | 13.9 KB |
watchdog.h | -rw-r--r-- | 2.7 KB |
xor.h | -rw-r--r-- | 29 bytes |
Computing file changes ...