search for: bad_implicit

Displaying 5 results from an estimated 5 matches for "bad_implicit".

2010 Sep 14
0
Handling error scenarios in the core
...a result, I've come up with a few questions. 1) core/com32.inc: not_com32r jumps to enter_command. Should it do something based on ONERROR? 2) core/comboot.inc: comboot_bogus_tail and comboot_too_large go to enter_command. Again, use ONERROR? There may be more that I'm missing. I know bad_implicit/bad_kernel and error_or_command (from abort_load) already use it. I know abort_check (executed with user input) does not but this one make a lot of sense as it's not a system error. 3) core/ui.inc and core/abort.inc: bad_implicit/bad_kernel is silent if there's an ONERROR but any other fu...
2011 Apr 01
1
[GIT PULL] elflink ldlinux
The following changes since commit 8c576f1fe03e34879921311f46613a35c6530000: Merge remote-tracking branch 'mfleming/for-hpa/elflink/fix-compiler-warnings' into elflink (2011-03-16 12:53:58 -0700) are available in the git repository at: git://git.zytor.com/users/mfleming/syslinux.git for-hpa/elflink/ldlinux Matt Fleming (1): ldlinux: Perform auto-boot if NOESCAPE set in config
2012 May 04
3
[GIT PULL] elflink fixes
...t char *kernel, const char *ext) /* Copy the rest of the command line */ strcpy(k + len + elen, p); - k[len + elen] = '\0'; + k[len + elen + strlen(p)] = '\0'; return k; } @@ -164,6 +164,12 @@ static void load_kernel(const char *command_line) if (!allowimplicit) goto bad_implicit; + /* Insert a null character to ignore any user-specified options */ + if (!allowoptions) { + char *p = (char *)find_command(kernel); + *p = '\0'; + } + type = parse_kernel_type(kernel); if (type == KT_KERNEL) { const char *ext; @@ -209,16 +215,12 @@ static void enter_cmdline(vo...
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com> The following patch series is available at, git://git.zytor.com/users/mfleming/syslinux.git elflink All patches are against the 'elflink' branch. This series fixes a few serious bugs and some behavioural incompatibilities with the 4.x series. Matt Fleming (19): ldlinux: Initialise 'p' before using it. ldlinux: Parse
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
..._line) { struct menu_entry *me; enum kernel_type type; const char *cmdline; + const char *kernel; + + kernel = strdup(command_line); + if (!kernel) + goto bad_kernel; /* Virtual kernel? */ me = find_label(kernel); @@ -78,7 +165,30 @@ static void load_kernel(const char *kernel) goto bad_implicit; type = parse_kernel_type(kernel); + if (type == KT_KERNEL) { + const char *ext; + + /* + * Automatically lookup the extension if one wasn't + * supplied by the user. + */ + ext = get_extension(kernel); + if (ext) { + const char *k; + + k = apply_extension(kernel, ext); + if...