Displaying 5 results from an estimated 5 matches for "shift_is_held".
2015 Oct 13
0
[PATCH 1/2] ldlinux: fix stack overflow when running COM32 modules
...val;
ldlinux_console_init();
@@ -333,16 +336,25 @@ __export int main(int argc __unused, char **argv)
if (!syslinux_setadv(ADV_BOOTONCE, 0, NULL))
syslinux_adv_write();
- load_kernel(cmdline); /* Shouldn't return */
- ldlinux_enter_command();
- }
-
- if (!forceprompt && !shift_is_held())
- ldlinux_auto_boot();
+ /*
+ * The corresponding longjmp is located in the execute function
+ * after a COM32 module has returned.
+ */
+ retval = setjmp(__return_to_command_prompt);
+ if (retval == 0)
+ load_kernel(cmdline); /* Shouldn't return */
+ } else {
+ retval = setjmp(...
2014 Apr 29
2
[PATCH][git-pull] lua: make kernel and initrd progress output match in sl_boot_linux
The following changes since commit 81609df52ac52636a6d4af9249ede641620cb3a7:
Centralize shift_is_held(), make it work to force the command line (2014-04-20 11:46:59 -0700)
are available in the git repository at:
https://github.com/wferi/syslinux progress
for you to fetch changes up to 5b19c094527fde3694afab1f878c2877973f5044:
lua: make kernel and initrd progress output match in sl_boot_linu...
2015 Oct 13
5
[PATCH 0/2] Stack overflows when running commands
From: Sylvain Gault <sylvain.gault at gmail.com>
Hello there,
I propose 2 patches that fix two possible stack overflows either when running a
COM32 module or when loading a new config file.
I didn't find a better way to do this than to use the infamous setjmp/longjmp
functions to restore the stack to a previous state. This makes the logic a bit
more complex, but the behavior is not
2014 May 14
0
[PATCH][git-pull] lua: make kernel and initrd progress output match in sl_boot_linux
...bailing out after printing "failed") to sl_boot_linux(). Shall I build
on this patch, or shall I squash them together?
Thanks,
Feri.
Ferenc Wagner <wferi at niif.hu> writes:
> The following changes since commit 81609df52ac52636a6d4af9249ede641620cb3a7:
>
> Centralize shift_is_held(), make it work to force the command line (2014-04-20 11:46:59 -0700)
>
> are available in the git repository at:
>
> https://github.com/wferi/syslinux progress
>
> for you to fetch changes up to 5b19c094527fde3694afab1f878c2877973f5044:
>
> lua: make kernel and initrd p...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and