search for: dump_args

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

Did you mean: dm_args
2006 Sep 18
1
Re: dumpcore changes -- [Xen-changelog] [xen-unstable] In this patch, the xc_domain_dumpcore_via_callback() in xc_core.c of
...xc_core.c Thu Sep 14 08:19:41 2006 +0100 > @@ -5,6 +5,12 @@ > /* number of pages to write at a time */ > #define DUMP_INCREMENT (4 * 1024) > #define round_pgup(_p) (((_p)+(PAGE_SIZE-1))&PAGE_MASK) > + > +/* Callback args for writing to a local dump file. */ > +struct dump_args { > + int fd; > + int incomp_fd; > +}; > > static int > copy_from_domain_page(int xc_handle, > @@ -27,7 +33,7 @@ xc_domain_dumpcore_via_callback(int xc_h > void *args, > dumpcore_rtn_t dump_rt...
2011 Aug 07
2
[PATCH] kinit minor checkpatch cleanup
...pid, NULL, 0) != pid) ; + while (waitpid(pid, NULL, 0) != pid) + ; dprintf("kinit: linuxrc done\n"); } else { return -errno; diff --git a/usr/kinit/kinit.c b/usr/kinit/kinit.c index 4a1f40b..a60c3be 100644 --- a/usr/kinit/kinit.c +++ b/usr/kinit/kinit.c @@ -26,14 +26,12 @@ void dump_args(int argc, char *argv[]) printf(" argc == %d\n", argc); - for (i = 0; i < argc; i++) { + for (i = 0; i < argc; i++) printf(" argv[%d]: \"%s\"\n", i, argv[i]); - } - if (argv[argc] != NULL) { + if (argv[argc] != NULL) printf(" argv[%d]: \&quot...
2005 Jan 05
1
[PATCH] kinit/nfsmount.c path from bootp
kinit/nfsmount.c:mount_nfs_root() should use the bootpath specified by bootp/dhcp. If the "nfsroot" option is specified then it overrides the boot server bootpath and a message indicating the override is printed. --- klibc-0.194/kinit/nfsroot.c.orig 2005-01-05 04:13:47.043897880 -0700 +++ klibc-0.194/kinit/nfsroot.c 2005-01-05 04:13:09.316633296 -0700 @@ -66,34 +66,21 @@ const int
2011 Aug 03
1
[PATCH v2] kinit: Add drop_capabilities support.
...ties(get_arg(cmdc, cmdv, "drop_capabilities=")); + if (mnt_procfs) { umount2("/proc", 0); mnt_procfs = 0; diff --git a/usr/kinit/kinit.h b/usr/kinit/kinit.h index c2e67b7..85960d8 100644 --- a/usr/kinit/kinit.h +++ b/usr/kinit/kinit.h @@ -65,4 +65,6 @@ static inline void dump_args(int argc, char *argv[]) } #endif +int drop_capabilities(const char *caps); + #endif /* KINIT_H */
2009 Jan 14
5
[PATCH] Support cross-bitness guest when core-dumping
This patch allows core-dumping to work on a cross-bit host/guest configuration, whereas previously that was not supported. It supports both PV and FV guests. The core file format generated by the host, needs to match that of the guest, so an alignment issue is addressed, along with the p2m frame list handling being done according to the guest size. Signed-off-by: Bruce Rogers
2011 Aug 03
2
[PATCH v3 0/2] Support drop directories directly from kinit
This patchset applies to klibc mainline. This patchset introduces the ability to kinit to execute scripts or executable files present in in the initramfs before switching over to the root filesystem. This functionality is implemented in a newly introduced run_parts() call, which calls scandir() to iterate through files which in then executes in sequence. run_parts() is also available as a
2011 Aug 02
6
[PATCH v2 0/4] Support drop directories directly from kinit
This patchset applies to klibc mainline. This patchset introduces the ability to kinit to execute scripts or executable files present in in the initramfs before switching over to the root filesystem. It is implemented by first implementing scandir() and alphasort() as present in POSIX.1-2008 in klibc itself, and then using that as the basis for iterating and executing files via a run_scripts()
2011 Jul 29
3
[PATCH 1/3] klibc: Add scandir() and alphasort() support.
Add support for scandir() and alphasort() as defined in POSIX.1-2008. Signed-off-by: Mike Waychison <mikew at google.com> --- usr/include/dirent.h | 7 +++++ usr/klibc/Kbuild | 2 + usr/klibc/scandir.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 1 deletions(-) create mode 100644 usr/klibc/scandir.c diff --git
2011 Jul 13
9
[PATCH 0/8] switch_root() enhancements
On a train ride to Bruxelles, brought out my axe and directly attacked run_init(8). run_init(8) is dead, long live switch_root(8). The next run on switch_root(8) involves fdopendir, so another push for the upcoming stdio 1.6 branch. The following is boot tested with initramfs-tools, kinit(8) tests would very much be appreciated!? Michal Suchanek (1): [klibc] switch_root: Fix single file