summaryrefslogtreecommitdiffstats
path: root/daemon/labels.c
Commit message (Collapse)AuthorAgeFilesLines
* daemon: collect list of called external commandsOlaf Hering2012-08-301-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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
* daemon: Remove e2prog hack (only needed for RHEL 5).Richard W.M. Jones2012-08-301-5/+1
| | | | Instead this patch will be carried out of tree in the oldlinux branch.
* daemon: labels: Memory leak in 'set_label'.Richard W.M. Jones2012-03-141-3/+7
| | | | This fixes commit d1711dae9dbd7f516469f88807604894c1304228.
* New API: set-label, for setting a label on any filesystem.Richard W.M. Jones2012-02-271-0/+100
Currently only ext2/3/4 and (newly) NTFS are supported. This change also deprecates set-e2label.