similar to: duplicate 'const char *program;' in extlinux/main.c

Displaying 20 results from an estimated 3000 matches similar to: "duplicate 'const char *program;' in extlinux/main.c"

2007 Feb 09
6
syslinux-3.36-pre8 feedback
Tested floppy boot on two machines (one PII 350, one 486DX4) Floppy boot with syslinux is very very slow, more than 18 mn to boot a linux kernel from floppy on the 2 machines. Tested with 3 different disquettes that were know to work, boot is reached after this very long time. Noise from floppy head make think floppy wait approximatly one minute between each read. No problem with pxe boot with
2009 Apr 24
2
TBOOT and extlinux
Hi, I'm trying to get to the bottom of a problem using the combination of tboot (http://tboot.sf.net, trusted boot kernel for Intel TXT) and extlinux. TBOOT loads using the multiboot protocol, where the tboot "kernel" is loaded as the kernel, and the actual linux kernel and initrd are specified as modules. A working grub configuration looks something like:
2011 Nov 21
0
[LLVMdev] A way to pass const char* arg without creating a GlobalVariable
What memory would the pointer argument point to? ― Gordon On Nov 20, 2011, at 16:58, "Dmitry N. Mikushin" <maemarcus at gmail.com> wrote: > Hi, > > Is it possible to make up a ConstantArray containing a "const char*" > string and pass it directly to the function "char*" argument *without* > creating a GlobalVaribable? > I looked around and
2001 Aug 15
2
PAM and getpwnam [ struct passwd *getpwnam(const char * name) ]
Hello! I use a PAM-module (pam_ncp_auth from ncpfs) for authentication against a netware server. pam_ncp_auth can create local UNIX user accounts from information in NDS, and it works perfect with login, gdm and telnet. But not with openssh (2.5 and 2.9). It works perfect if the user already is in /etc/passwd, but the first time he logs on he doesn't exist there. In that case openssh call
2011 Nov 21
2
[LLVMdev] A way to pass const char* arg without creating a GlobalVariable
Hi, Is it possible to make up a ConstantArray containing a "const char*" string and pass it directly to the function "char*" argument *without* creating a GlobalVaribable? I looked around and found the usual implementation is array->globalVar->gep. If we omit globalVar & gep, then the argument type would be [ i8 x N ], where N is set to the exact string length, and
2016 Jul 22
1
[PATCH] static const char *str -> static const char str
Make all the static constant strings as char arrays, so they can be fully stored in read-only memory. --- align/scan.c | 2 +- builder/index-validate.c | 2 +- cat/cat.c | 2 +- cat/filesystems.c | 2 +- cat/log.c | 2 +- cat/ls.c | 2 +-
2011 Jan 30
1
[PATCH] Very minor various typo fixes
Signed-off-by: Gilles Espinasse <g.esp at free.fr> --- scripts/Makefile.host | 2 +- usr/klibc/CAVEATS | 2 +- usr/klibc/README.klibc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/Makefile.host b/scripts/Makefile.host index d8ab687..6a6b949 100644 --- a/scripts/Makefile.host +++ b/scripts/Makefile.host @@ -5,7 +5,7 @@ # # Both C and C++ is
2007 Jan 31
2
syslinux-2.11 boot, syslinux-3.20 fail
We used syslinux package on IPCop with success to install from floppy, from cdrom, from usb key and pxe. I upgrade the distribution nine month ago from 2.11 to more recent versions (3.11, later 3.20). We add one consistent report of a laptop machine that boot with 2.11 but fail with 3.11 and 3.20 Symptom is that the machine don't display anything after loading the kernel and initrd. with
2011 Sep 22
0
[LLVMdev] How to const char* Value for function argument
Hi Dimitry, This makes sense if you think about it from the perspective that the string you want passing must be passed at runtime, and so can't use a const char * from compile time. You need to make the string visible in the compiled image, and use that as the argument. A string is an array of 8-bit integers, so you need to create a ConstantArray. Value *v = ConstantArray::get(Context,
2011 Sep 22
2
[LLVMdev] How to const char* Value for function argument
Hi, I'm trying to replace function call with call to wrapper(function_name, num_args, ...), where varargs hold args of original call. Function* launch = Function::Create( TypeBuilder<int(const char*, int, ...), false>::get(context), GlobalValue::ExternalLinkage, "kernelgen_launch_", m2); { CallInst* call = dyn_cast<CallInst>(cast<Value>(I)); if
2009 Apr 14
5
"keeppxe" broken in 3.74 - short-cycle 3.75
It appears that the 3.74 completely broke the "keeppxe" directive -- not due to the command-line parser, but due to mishandling of the flag later. I consider this to be severe enough to do a short-cycle 3.75. As a result, I would like help with: a) are there any other bugs that snuck through? b) once I have a 3.75-pre1, I would really appreciate help testing it. The goal is to have
2010 Jun 19
0
[PATCH] extlinux/main.c: Silence warnings
From: Gene Cumm <gene.cumm at gmail.com> extlinux/main.c: Silence warnings from GCC with asprintf's attribute warn_unused_result in certain glibc versions/patches. Assign it to a variable and ignore it as the string is already tested for null before using it. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- diff --git a/extlinux/main.c b/extlinux/main.c index
2015 Nov 13
0
[patch] 6.03 extlinux/main.c typos
On Fri, Nov 13, 2015 at 05:05:26AM +0200, Ady via Syslinux wrote: > diff U3 syslinux-6.03/extlinux/main.c syslinux-6.03_typo/extlinux/main.c > --- syslinux-6.03/extlinux/main.c Mon Oct 06 16:27:44 2014 > +++ syslinux-6.03_typo/extlinux/main.c Fri Nov 13 02:29:56 2015 > @@ -14,7 +14,7 @@ > /* > * extlinux.c > * > - * Install the syslinux boot block on an fat, ntfs,
2015 Nov 15
0
[PATCH] extlinux/main.c: typo fixes
Some typo fixes in extlinux/main.c. None of them effects code execution. --- extlinux/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extlinux/main.c b/extlinux/main.c index 6871fb1..26eb43c 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -14,7 +14,7 @@ /* * extlinux.c * - * Install the syslinux boot block on an fat, ntfs, ext2/3/4, btrfs, xfs, +
2015 Nov 15
0
[PATCH] extlinux/main.c: space chance
Spaces, ASCII 0x20, have been * moved * inserted * deleted Signed-off-by: Geert Stappers <stappers at stappers.nl> --- extlinux/main.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/extlinux/main.c b/extlinux/main.c index 26eb43c..ed359f1 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -393,11 +393,11 @@ int install_bootblock(int fd,
2015 Nov 15
0
[PATCH] extlinux/main.c: typo fixes
Some typo fixes in extlinux/main.c. None of them effects code execution. Signed-off-by: Geert Stappers <stappers at stappers.nl> --- extlinux/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extlinux/main.c b/extlinux/main.c index 6871fb1..26eb43c 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -14,7 +14,7 @@ /* * extlinux.c * - * Install
2011 Jul 16
1
crash in extlinux/main
Hi, I found a bug in extlinux/main.c. Writing a bootloader on a file mounted via /dev/mapper in Lunix it crashed on me with a segment fault. The bug is here: if (!ioctl(devfd, HDIO_GETGEO, &geo)) { Since we are already called with geo as a pointer the & is wrong as the pointer itself will be overwritten. This works: int get_geometry(int devfd, uint64_t totalbytes, struct
2010 Dec 02
1
Syslinux Digest, Vol 93, Issue 1
All, Thanks for all your help. Now, I can compile the latest source code base on RedHat 5.5 after update nasm(to 2.09) and binutil(2.17). And *make spotless* before *make* under core/ directory. But with the new pxelinux.0, the PXEClient can not bootup. The error info, No valid file system found! And stuck in there. I think maybe the gcc cause the problem. My gcc version is 4.1.2. Thanks aaron
2015 Nov 15
2
[PATCH] extlinux/main.c: typo fixes
On Sun, Nov 15, 2015 at 12:30:35PM +0100, Ady SF via Syslinux wrote: > [PATCH] extlinux/main.c: typo fixes > > Some typo fixes in extlinux/main.c. > None of them effects code execution. > --- > extlinux/main.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > FWIW working on a new version that is `git am` ready, it will have a "sign-off".
2015 Nov 13
2
[patch] 6.03 extlinux/main.c typos
diff U3 syslinux-6.03/extlinux/main.c syslinux-6.03_typo/extlinux/main.c --- syslinux-6.03/extlinux/main.c Mon Oct 06 16:27:44 2014 +++ syslinux-6.03_typo/extlinux/main.c Fri Nov 13 02:29:56 2015 @@ -14,7 +14,7 @@ /* * extlinux.c * - * Install the syslinux boot block on an fat, ntfs, ext2/3/4, btrfs, xfs, + * Install the syslinux boot block on a fat, ntfs, ext2/3/4, btrfs, xfs, * and ufs1/2