Re: [PATCH] kexec: Initialize ELF lowest address to ULONG_MAX

2025-01-08 Thread Sourabh Jain
Hello Andrew, On 09/01/25 10:58, Andrew Morton wrote: On Thu, 9 Jan 2025 09:42:14 +0530 Sourabh Jain wrote: Hello Baoquan and Eric, On 12/12/24 08:25, Baoquan he wrote: On 12/10/24 at 02:43pm, Sourabh Jain wrote: kexec_elf_load() loads an ELF executable and sets the address of the lowest

Re: [PATCH] kexec: Initialize ELF lowest address to ULONG_MAX

2025-01-08 Thread Andrew Morton
On Thu, 9 Jan 2025 09:42:14 +0530 Sourabh Jain wrote: > Hello Baoquan and Eric, > > > On 12/12/24 08:25, Baoquan he wrote: > > On 12/10/24 at 02:43pm, Sourabh Jain wrote: > >> kexec_elf_load() loads an ELF executable and sets the address of the > >> lowest PT_LOAD section to the address held b

Re: [PATCH] kexec: Initialize ELF lowest address to ULONG_MAX

2025-01-08 Thread Sourabh Jain
Hello Baoquan and Eric, On 12/12/24 08:25, Baoquan he wrote: On 12/10/24 at 02:43pm, Sourabh Jain wrote: kexec_elf_load() loads an ELF executable and sets the address of the lowest PT_LOAD section to the address held by the lowest_load_addr function argument. To determine the lowest PT_LOAD a

Re: [PATCH] kexec: Initialize ELF lowest address to ULONG_MAX

2024-12-11 Thread Sourabh Jain
On 12/12/24 08:25, Baoquan he wrote: On 12/10/24 at 02:43pm, Sourabh Jain wrote: kexec_elf_load() loads an ELF executable and sets the address of the lowest PT_LOAD section to the address held by the lowest_load_addr function argument. To determine the lowest PT_LOAD address, a local variable

Re: [PATCH] kexec: Initialize ELF lowest address to ULONG_MAX

2024-12-11 Thread Baoquan he
On 12/10/24 at 02:43pm, Sourabh Jain wrote: > kexec_elf_load() loads an ELF executable and sets the address of the > lowest PT_LOAD section to the address held by the lowest_load_addr > function argument. > > To determine the lowest PT_LOAD address, a local variable lowest_addr > (type unsigned lo

[PATCH] kexec: Initialize ELF lowest address to ULONG_MAX

2024-12-10 Thread Sourabh Jain
kexec_elf_load() loads an ELF executable and sets the address of the lowest PT_LOAD section to the address held by the lowest_load_addr function argument. To determine the lowest PT_LOAD address, a local variable lowest_addr (type unsigned long) is initialized to UINT_MAX. After loading each PT_LO