summaryrefslogtreecommitdiffstats
path: root/src/inspect_icon.c
Commit message (Collapse)AuthorAgeFilesLines
* Use O_CLOEXEC / SOCK_CLOEXEC for almost all file descriptors.Richard W.M. Jones2012-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The presumption is that all file descriptors should be created with the close-on-exec flag set. The only exception are file descriptors that we want passed through to exec'd subprocesses (mainly pipes and stdin/stdout/stderr). For open calls, we pass O_CLOEXEC as an extra flag, eg: fd = open ("foo", O_RDONLY|O_CLOEXEC); This is a Linux-ism, but using a macro we can easily make it portable. For sockets, similarly: sock = socket (..., SOCK_STREAM|SOCK_CLOEXEC, ...); For accepted sockets, we use the Linux accept4 system call which allows flags to be supplied, but we use the Gnulib 'accept4' module to make this portable. For dup, dup2, we use the Linux dup3 system call, and the Gnulib modules 'dup3' and 'cloexec'.
* inspection: Add detection of FreeDOS (RHBZ#786215).Richard W.M. Jones2012-03-071-0/+2
| | | | | FreeDOS is returned as type="dos", distro="freedos". No version or application information is returned at present.
* Comment change.Richard W.M. Jones2012-03-071-1/+1
|
* Hide stderr of bmptopng.Richard W.M. Jones2012-03-071-2/+3
| | | | This program is noisy on stderr. Send that to /dev/null.
* build: Make netpbm and icoutils into proper optional dependencies.Richard W.M. Jones2012-03-071-5/+30
| | | | | | | | Netpbm and icoutils (wrestool) have always been dependencies. Since they are not always present, make these into optional dependencies (which they were, sort of, before). Also document these dependencies in the README file.
* Add support for Buildroot and Cirros distributions.Richard W.M. Jones2012-03-071-0/+61
|
* Whitespace change.Richard W.M. Jones2012-03-071-1/+1
|
* inspection: Add outline support for GNU/Hurd.Richard W.M. Jones2011-11-281-0/+1
|
* Add basic support for netbsd detection.Michael Scherer2011-10-141-0/+1
|
* Add the Opensuse logo ( thanks to Vincent Untz )Michael Scherer2011-10-141-0/+14
| | | | Like Ubuntu one, it may not be always present.
* Add support for Ubuntu logoMichael Scherer2011-10-141-2/+13
| | | | | | Ths logo is present on Lucid Lynx, but may not always be installed, like in case of a minimal installation ( or server ). While Edubuntu and Kubuntu have different logo, I didn't check where it would be placed.
* Detect Mageia distributionMichael Scherer2011-10-141-0/+12
|
* inspection: Add support for ttylinux (a minimal Linux).Richard W.M. Jones2011-09-161-0/+1
|
* New API: inspect-get-icon returns the guest icon.Richard W.M. Jones2011-06-281-0/+470
This API returns the guest's favicon if found, else an icon representing the guest operating system. Currently supported by this patch: Fedora, RHEL and derivatives, Debian (but not Ubuntu), Windows XP, Windows 7. This also updates virt-inspector to include an <icon> element containing the icon in base64 encoding.