Files
libguestfs/daemon
Olaf Hering 0306c98d31 daemon: collect list of called external commands
guestfsd calls many different tools. Keeping track of all of them is
error prone. This patch introduces a new helper macro to put the command
string into its own ELF section:

GUESTFSD_EXT_CMD(C_variable, command_name);

This syntax makes it still possible to grep for used command names.

The actual usage of the collected list could be like this:

  objcopy -j .guestfsd_ext_cmds -O binary daemon/guestfsd /dev/stdout |
  tr '\0' '\n' | sort -u

The resulting output will be used to tell mkinitrd which programs to
copy into the initrd.

Signed-off-by: Olaf Hering <olaf@aepfle.de>

RWMJ:
 - Move str_vgchange at request of author.
 - Fix snprintf call in daemon/debug.c
2012-08-30 20:57:07 +01:00
..
2012-07-18 09:05:32 +01:00
2012-07-02 16:42:17 +01:00
2011-11-08 14:43:07 +00:00
2012-08-29 17:08:01 +01:00
2011-11-08 14:43:07 +00:00
2012-08-29 17:08:01 +01:00
2011-11-08 14:43:07 +00:00
2012-03-13 08:23:56 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2012-07-30 15:16:45 +01:00