[PATCH RFC] fs/binfmt_elf: fix memory map for PIE applications

2013-10-02 Thread Timo Teräs
ull heap address space for PIE applications and fixes random "out of memory" errors. Signed-off-by: Timo Teräs --- fs/binfmt_elf.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) It might make sense to define ELF_ET_DYN_APP_BASE or similar so that architectures can specify

[PATCH] leds: leds-gpio: reserve gpio before using it

2013-05-17 Thread Timo Teräs
[] ? __vmalloc_node_range+0x13e/0x15f [] sys_init_module+0x62/0x77 [] syscall_call+0x7/0xb EIP: [] __gpio_cansleep+0xe/0x1a SS:ESP 0068:cded9dbc CR2: 004c ---[ end trace 5308fb20d2514822 ]--- Signed-off-by: Timo Teräs Cc: Jingoo Han Cc: Sachin Kamat Cc: Raphael Assenat Cc: Trent

[PATCH] ip_gre: sendto/recvfrom NBMA address

2007-10-17 Thread Timo Teräs
When GRE tunnel is in NBMA mode, this patch allows an application to use a PF_PACKET socket to: - send a packet to specific NBMA address with sendto() - use recvfrom() to receive packet and check which NBMA address it came from Signed-off-by: Timo Teras <[EMAIL PROTECTED]> --- This is useful fo