search for: load_script

Displaying 18 results from an estimated 18 matches for "load_script".

2020 Nov 12
0
[patch V3 10/37] ARM: highmem: Switch to generic kmap atomic
...0126aa4>] (warn_slowpath_fmt+0xb0/0xb8) [<c0126aa4>] (warn_slowpath_fmt) from [<c028e22c>] (kunmap_local_indexed+0x194/0x1d0) [<c028e22c>] (kunmap_local_indexed) from [<c02d37f4>] (remove_arg_zero+0xa0/0x158) [<c02d37f4>] (remove_arg_zero) from [<c034cfc8>] (load_script+0x250/0x318) [<c034cfc8>] (load_script) from [<c02d2f7c>] (bprm_execve+0x3d0/0x930) [<c02d2f7c>] (bprm_execve) from [<c02d3dc8>] (do_execveat_common+0x174/0x184) [<c02d3dc8>] (do_execveat_common) from [<c02d4cec>] (sys_execve+0x30/0x38) [<c02d4cec>] (sys_e...
2017 Feb 21
3
[PATCH 1/3] dib: unset all temporary dirs envvars in fake-sudo
The real sudo does it as well, and leaving them when preserving the environment (-E) maybe breaks the applications, as e.g. chroot will have a TMPDIR path pointing outside of it. --- dib/dib.ml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dib/dib.ml b/dib/dib.ml index df83ba1..d15cd19 100644 --- a/dib/dib.ml +++ b/dib/dib.ml @@ -301,6 +301,11 @@ if [ -z \"$preserve_env\" ];
2007 Jul 14
1
Kernel panic in ext3:dx_probe, help needed
This may or may not be ext3 related but I am trying to find any pointers which might help me. I got a number of HP Proliant DL380 g5 with a P400 controller and also two qla2400 cards. The OS is RedHat EL4 U5 x86_64. Every time during reboot these systems panic after the last umount and I believe before the cciss driver is getting unloaded. The last messages I am able to see are: md: stopping
2017 Sep 19
1
Re: [PATCH 2/5] Make sure every *.ml file has a corresponding *.mli file.
...contains names of scripts to never copy. *) > +val load_hooks : debug:int -> string -> (string, string list) Hashtbl.t The return value is hooks_map, actually. (** [load_hooks ~debug path] loads the hooks from the specified [path] (which usually represents an element). *) > +val load_scripts : Guestfs.guestfs -> string -> string list (** [load_scripts g path] loads the scripts from the specified [path] (which usually represents a directory of an hook). *) > diff --git a/dib/utils.mli b/dib/utils.mli > new file mode 100644 > index 000000000..3a17a4d88 > --- /dev...
2008 Jan 08
0
4 commits - configure.ac test/compiler.c test/.gitignore test/Makefile.am test/swfdec_test.c test/swfdec_test_function.c test/swfdec_test_function.h test/swfdec_test_global.c test/swfdec_test_initialize.as test/swfdec_test_initialize.h
...ontext_parse (ctx, &argc, &argv, &error); @@ -95,12 +103,6 @@ main (int argc, char **argv) return EXIT_FAILURE; } - if (argc < 2) { - g_printerr ("ERROR: Usage: %s [OPTIONS] filename\n", argv[0]); - return EXIT_FAILURE; - } - - swfdec_init (); script = load_script (script_filename); g_free (script_filename); if (script == NULL) @@ -117,9 +119,22 @@ main (int argc, char **argv) g_print ("ERROR: Not enough memory"); return EXIT_FAILURE; } - for (i = 1; i < argc; i++) { - SWFDEC_AS_VALUE_SET_STRING (&val, swfdec_as_contex...
2017 Feb 21
0
[PATCH 3/3] dib: rename "aux" to "in_target.aux"
...- let scripts_path = "/tmp/aux/hooks/" ^ hook in + let scripts_path = "/tmp/in_target.aux/hooks/" ^ hook in (* Cleanly handle cases when the phase directory does not exist. *) if g#is_dir ~followsymlinks:true scripts_path then load_scripts g scripts_path @@ -715,7 +715,7 @@ let main () = Output_format.check_formats_appliance_prerequisites cmdline.formats g; - (* Prepare the /aux partition. *) + (* Prepare the /in_target.aux partition. *) g#mkfs "ext2" "/dev/sdb"; g#mount "/dev/sdb&qu...
2017 Feb 14
14
[PATCH 00/10] dib/API: improvements and fixes
Hi, this patch series does changes mostly in virt-dib, few bug fixes and a couple of new features (mostly implemented upstream already). In addition, one new API is added, and a new optional argument for an existing API is added (the latter is not needed, but could be useful anyway). Thanks, Pino Toscano (10): dib: fix listing envvars in fake-sudo dib: source dib "die" script in
2004 Jul 26
0
FW: IA64 test report: 2.6.8-rc1 /tiger 2004-7-20: Boot Hang!
...bsp=e00000003cfd1178 [<a000000100127390>] vfs_read+0x210/0x2c0 sp=e00000003cfd79d0 bsp=e00000003cfd1130 [<a000000100141200>] kernel_read+0x60/0xa0 sp=e00000003cfd79d0 bsp=e00000003cfd10f8 [<a0000001001923f0>] load_script+0x550/0x580 sp=e00000003cfd79e0 bsp=e00000003cfd10b8 [<a0000001001436a0>] search_binary_handler+0x400/0x7a0 sp=e00000003cfd7a70 bsp=e00000003cfd1038 [<a000000100143d80>] do_execve+0x340/0x3e0...
2017 Sep 20
8
[PATCH v2 0/6] Fix OCaml dependencies.
v1 -> v2: - Fixed everything mentioned in patch review. - Libdir module is removed as a separate commit. Rich.
2017 Sep 18
6
[PATCH 0/5] Fix OCaml dependencies.
This works reliably for me ... Rich.
2017 Nov 21
2
[PATCH v3 0/2] common/mlstdutils: Extend the List module.
v2 -> v3: - Renamed List.assoc_ -> List.assoc_lbl. - Rebased on top of current master branch. Rich.
2020 Nov 03
45
[patch V3 00/37] mm/highmem: Preemptible variant of kmap_atomic & friends
Following up to the discussion in: https://lore.kernel.org/r/20200914204209.256266093 at linutronix.de and the second version of this: https://lore.kernel.org/r/20201029221806.189523375 at linutronix.de this series provides a preemptible variant of kmap_atomic & related interfaces. This is achieved by: - Removing the RT dependency from migrate_disable/enable() - Consolidating all
2020 Nov 03
45
[patch V3 00/37] mm/highmem: Preemptible variant of kmap_atomic & friends
Following up to the discussion in: https://lore.kernel.org/r/20200914204209.256266093 at linutronix.de and the second version of this: https://lore.kernel.org/r/20201029221806.189523375 at linutronix.de this series provides a preemptible variant of kmap_atomic & related interfaces. This is achieved by: - Removing the RT dependency from migrate_disable/enable() - Consolidating all
2020 Nov 03
45
[patch V3 00/37] mm/highmem: Preemptible variant of kmap_atomic & friends
Following up to the discussion in: https://lore.kernel.org/r/20200914204209.256266093 at linutronix.de and the second version of this: https://lore.kernel.org/r/20201029221806.189523375 at linutronix.de this series provides a preemptible variant of kmap_atomic & related interfaces. This is achieved by: - Removing the RT dependency from migrate_disable/enable() - Consolidating all
2017 Oct 08
4
[PATCH 0/3] common/mlstdutils: Add Std_utils List and Option modules.
In Std_utils we already extend Char and String. These commits take it a little further by extending List and adding a new Option submodule. All basically simple refactoring. Rich.
2017 Oct 08
7
[[PATCH v2 0/4] common/mlstdutils: Add Std_utils List and Option modules.
This time including the first commit ...
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...h> + +#include "swfdec_test_function.h" +#include "swfdec_test_initialize.h" + + +/* Start of script file */ +#define SWFDEC_TEST_FILE_ID "Swfdec Test Script\0\1" +/* Flash version the script engine runs in */ +#define SWFDEC_TEST_VERSION 8 + +static SwfdecScript * +load_script (const char *filename) +{ + SwfdecBuffer *file, *buffer; + SwfdecScript *script; + GError *error = NULL; + + if (filename == NULL) + filename = "default.sts"; + + file = swfdec_buffer_new_from_file (filename, &error); + if (file == NULL) { + g_print ("ERROR: %s\n&quot...
2017 Sep 18
0
[PATCH 2/5] Make sure every *.ml file has a corresponding *.mli file.
...l load_dependencies : StringSet.elt list -> (StringSet.elt, element) Hashtbl.t -> StringSet.t +val copy_elements : StringSet.t -> (StringSet.elt, element) Hashtbl.t -> string list -> string -> unit +val load_hooks : debug:int -> string -> (string, string list) Hashtbl.t +val load_scripts : Guestfs.guestfs -> string -> string list diff --git a/dib/output_format_docker.mli b/dib/output_format_docker.mli new file mode 100644 index 000000000..772c1c7c3 --- /dev/null +++ b/dib/output_format_docker.mli @@ -0,0 +1,19 @@ +(* virt-dib + * Copyright (C) 2016-2017 Red Hat Inc. + * + *...