search for: copy_string

Displaying 9 results from an estimated 9 matches for "copy_string".

Did you mean: copy_strings
2008 Jan 25
3
Finding difficulty in installing Asterisk
...2 [treepr at CDC5S3FB-174202 libpri-1.4.2]$ make clean rm -f *.o *.so *.lo *.so.1 *.so.1.0 rm -f testprilib libpri.a libpri.so.1.0 rm -f pritest pridump rm -f .depend [treepr at CDC5S3FB-174202 libpri-1.4.2]$ make install gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -c -o copy_string.o copy_string.c gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -c -o pri.o pri.c gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -c -o q921.o q921.c gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -c -o prisched.o prisched.c g...
2008 Jul 26
5
BUG: soft lockup - CPU#1 stuck for 61s!
...+0x2d5/0x35c Jul 25 02:15:02 vega2008 kernel: [<c04570d2>] ? page_address+0x78/0x98 Jul 25 02:15:02 vega2008 kernel: [<c045735a>] ? kmap_high+0x19/0x16b Jul 25 02:15:02 vega2008 kernel: [<c04570d2>] ? page_address+0x78/0x98 Jul 25 02:15:02 vega2008 kernel: [<c046dced>] ? copy_strings+0x169/0x173 Jul 25 02:15:02 vega2008 kernel: [<c046ddad>] ? search_binary_handler+0x8f/0x1af Jul 25 02:15:02 vega2008 kernel: [<c046efe7>] ? do_execve+0x133/0x194 Jul 25 02:15:02 vega2008 kernel: [<c04030d7>] ? sys_execve+0x2a/0x4a Jul 25 02:15:02 vega2008 kernel: [<c04047...
2008 Jul 28
5
PF_RING crashed the CentOS5 - BUG: soft lockup - CPU#7
...+0x2d5/0x35c Jul 25 02:15:02 vega2008 kernel: [<c04570d2>] ? page_address+0x78/0x98 Jul 25 02:15:02 vega2008 kernel: [<c045735a>] ? kmap_high+0x19/0x16b Jul 25 02:15:02 vega2008 kernel: [<c04570d2>] ? page_address+0x78/0x98 Jul 25 02:15:02 vega2008 kernel: [<c046dced>] ? copy_strings+0x169/0x173 Jul 25 02:15:02 vega2008 kernel: [<c046ddad>] ? search_binary_handler+0x8f/0x1af Jul 25 02:15:02 vega2008 kernel: [<c046efe7>] ? do_execve+0x133/0x194 Jul 25 02:15:02 vega2008 kernel: [<c04030d7>] ? sys_execve+0x2a/0x4a Jul 25 02:15:02 vega2008 kernel: [<c04047...
2010 Oct 15
2
Kernel panic (asterisk 1.8.0-rc3, dahdi-linux-2.4)
...03d30>] ? common_interrupt+0x30/0x40 [<c042facf>] ? preempt_schedule+0x2f/0x50 [<c0198a60>] ? do_wp_page+0x160/0x960 [<c0199c02>] ? handle_mm_fault+0x5d2/0xaa0 [<c01244b0>] ? do_page_fault+0x0/0x370 [<c01245f0>] ? do_page_fault+0x140/0x370 [<c01b7b2f>] ? copy_strings+0x17f/0x1a0 [<c01b935e>] ? do_execve+0x2be/0x310 [<c01b935e>] ? do_execve+0x2be/0x310 [<c010aa80>] ? sys_execve+0x40/0x70 [<c01244b0>] ? do_page_fault+0x0/0x370 [<c0432273>] ? error_code+0x73/0x80 Code: 89 c2 0f ae 2f 85 c9 75 27 83 4b 0c 01 80 86 98 00 00 00 01...
2006 Jul 03
1
Problem with CentOS 4.3 on kernel and ipvsadm
...>] exec_mmap+0x2cd/0x2e7 Jul 3 04:02:03 lvs2 kernel: [<c01780d6>] flush_old_exec+0x43/0x367 Jul 3 04:02:03 lvs2 kernel: [<c0177b7a>] kernel_read+0x31/0x3b Jul 3 04:02:03 lvs2 kernel: [<c019cbeb>] load_elf_binary+0x520/0xbe0 Jul 3 04:02:03 lvs2 kernel: [<c01776c1>] copy_strings+0x22b/0x235 Jul 3 04:02:03 lvs2 kernel: [<c01791b1>] search_binary_handler+0x81/0x1cc Jul 3 04:02:03 lvs2 kernel: [<c0179464>] do_execve+0x168/0x1f6 Jul 3 04:02:03 lvs2 kernel: [<c010496c>] sys_execve+0x2e/0x185 Jul 3 04:02:03 lvs2 kernel: [<c0317637>] syscall_call+...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not allocating RBP to any virtual register, the instances of RBP in function foo are in the machine code when my register allocator starts.) Function foo calls function bar. Register RBP is not saved across the call, though it is live after the call. Function bar includes a virtual register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...void); extern void action_define ( char *defname, int value ); extern void add_action ( char *new_text ); extern int all_lower (register char *); extern int all_upper (register char *); extern void bubble (int [], int); extern void check_char (int c); extern unsigned char clower (int); extern char *copy_string (register const char *); extern unsigned char *copy_unsigned_string (register unsigned char *); extern void cshell (unsigned char [], int, int); extern void dataend (void); extern void dataflush (void); extern void flexerror (const char[]); extern void flexfatal (const char[]); extern int htoi (uns...
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
...ppy). That's one case I spotted, there may be others. The only safe way around this is to immediately copy the string onto the C heap. (Well, unless you can engineer some way where the GC is never called, but that seems unlikely). Note that as well as calling OCaml code, C functions such as copy_string can also invoke garbage collection. > diff --git a/mllib/getopt.ml b/mllib/getopt.ml > new file mode 100644 > index 0000000..f5cb11a > --- /dev/null > +++ b/mllib/getopt.ml > @@ -0,0 +1,51 @@ > +(* Common utilities for OCaml tools in libguestfs. > + * Copyright (C) 2016 Red...
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
...caml_modify (&Field (Field (actionv, 0), 0), Val_true); + break; + + case 2: /* Clear of bool ref */ + caml_modify (&Field (Field (actionv, 0), 0), Val_false); + break; + + case 3: /* String of string * (string -> unit) */ + do_call1 (Field (actionv, 1), caml_copy_string (optarg)); + break; + + case 4: /* Set_string of string * string ref */ + caml_modify (&Field (Field (actionv, 1), 0), caml_copy_string (optarg)); + break; + + case 5: /* Int of string * (int -> unit) */ + if (sscanf (optarg, "%d", &num) != 1) { +...