summaryrefslogtreecommitdiffstats
path: root/src/daemon
Commit message (Collapse)AuthorAgeFilesLines
* use pa_fopen_cloexec() where applicableLennart Poettering2009-10-301-2/+2
|
* use cloexec wrappers wherever applicableLennart Poettering2009-10-301-3/+1
|
* Merge remote branch 'coling/history'Lennart Poettering2009-10-072-0/+41
|\
| * device-manager: Fix typo in module loading script.Colin Guthrie2009-10-021-1/+1
| |
| * device-manager: Add some scripts that are only run under KDE to ↵Colin Guthrie2009-10-012-0/+41
| | | | | | | | load/initialise module-device-manager with routing turned on.
* | Merge branch 'master' into dbus-workTanu Kaskinen2009-10-026-261/+27
|\| | | | | | | | | Conflicts: src/daemon/daemon-conf.c
| * polkit: drop left-over polkit policy file from git treeLennart Poettering2009-09-291-50/+0
| |
| * Don't refuse to start on systems using GNU stow, graft, STORE et alNix2009-09-291-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are multiple package management systems out there which implement packages using symlinks. The recent (otherwise useful) check to ensure that a re-executed pulseaudio is actually reexecuting itself unfortunately breaks in the presence of all these packaging systems, because PA_BINARY refers to its installed location (e.g. /usr/local/bin/pulseaudio), which is a symlink to the binary (e.g. /usr/local/stow/pulseaudio-0.9.18/bin/pulseaudio), because /proc/self/exe always contains the canonical path of the executable, with all symlinks resolved. (At least one distribution uses a symlink-based packaging system, so will be forced to apply this locally in any case.) The fix is simple: canonicalize PA_BINARY before equality-testing. (This should be completely safe, because the OS does just that when PA_BINARY is executed.) The patch is against 0.9.18, but applies without fuzz to current master.
| * conf: Fix typo in daemon.conf: rlimit-rtttime - too many t'sColin Guthrie2009-09-181-1/+1
| | | | | | | | Spotted by peol on IRC
| * daemon: disable CPU load limiter by defaultLennart Poettering2009-09-042-2/+2
| | | | | | | | | | RLIMIT_RTTIME and rtki can do this job much better, so let's disable this by default.
| * daemon: make use of SIMD optional via config variable to ease debuggingLennart Poettering2009-09-031-2/+4
| |
| * daemon: drop polkit code from git repo we weren't using anymoreLennart Poettering2009-09-022-199/+0
| |
| * daemon: clean up environment when forking off childrenLennart Poettering2009-09-021-2/+5
| |
| * daemon: don't override path env vars if they are already setLennart Poettering2009-09-011-3/+8
| |
* | Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-workTanu Kaskinen2009-08-243-11/+25
|\| | | | | | | | | Conflicts: src/Makefile.am
| * Merge commit 'wtay/optimize'Lennart Poettering2009-08-231-4/+5
| |\
| | * svolume: add ARM optimized volume scalingWim Taymans2009-08-201-0/+2
| | |
| | * Get rid of liboilWim Taymans2009-08-201-4/+0
| | | | | | | | | | | | | | | | | | | | | Get rid of the liboil dependency and reimplement the liboil functions with an equivalent C implementation. Note that most of these functions are deprecated in liboil and that none of them had any optimisations. We can further specialize our handrolled versions for some extra speedups.
| | * main: hook up cpu detection codeWim Taymans2009-08-201-2/+2
| | | | | | | | | | | | | | | | | | Add CPU detection code to activate the various optimisations. Move some method definitions around. Use compatibility macros when we can.
| | * volume_sse: add sse optimisationsWim Taymans2009-08-201-0/+1
| | |
| | * volume: add first mmx optimized functionWim Taymans2009-08-201-0/+2
| | | | | | | | | | | | | | | Add code for an mmx optimized version of s16ne volume scaling. Install the custom function.
| * | daemon: don't free script_commands twiceLennart Poettering2009-08-221-5/+0
| | |
| * | daemon: fix leak of script_commandsScott Reeves2009-08-211-1/+1
| | |
| * | adjust various data/library paths automatically if we are run from a build treeLennart Poettering2009-08-212-2/+20
| |/
* | Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-workTanu Kaskinen2009-08-165-22/+81
|\| | | | | | | | | | | | | | | | | | | Conflicts: src/Makefile.am src/daemon/daemon-conf.c src/daemon/daemon.conf.in src/modules/module-stream-restore.c src/pulse/client-conf.c src/pulsecore/namereg.c
| * daemon: reset gids too, not just uidsLennart Poettering2009-08-141-0/+8
| |
| * daemon: reset scheduling priority on startup, tooLennart Poettering2009-08-121-0/+1
| |
| * core-util: move personality resetting into core-utilLennart Poettering2009-08-121-9/+1
| |
| * daemon: unconditionally clean up priviligesLennart Poettering2009-08-121-5/+2
| |
| * conf: invert all negative boolean configuration optionLennart Poettering2009-08-122-12/+18
| |
| * daemon: install D-Bus system policy file for PA system instancesLennart Poettering2009-08-121-0/+37
| | | | | | | | | | | | Original patch from 'mgrela'. http://pulseaudio.org/ticket/582
| * Split OSS support in output and wrapper.Diego Elio 'Flameeyes' Pettenò2009-08-081-1/+1
| | | | | | | | | | | | | | Since Fedora does not enable OSS output support at all, but still uses padsp, and in Gentoo we could also make use of padsp without OSS output support, split the two things in two parameters, although they both check for sys/soundcard.h once.
| * Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudioLennart Poettering2009-07-231-0/+10
| |\ | | | | | | | | | | | | Conflicts: src/daemon/main.c
| | * Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudioLennart Poettering2009-07-221-22/+0
| | |\
| | | * Remove exploitable LD_BIND_NOW hack (CVE-2009-1894).Diego Elio 'Flameeyes' Pettenò2009-07-161-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of trying to re-execute pulseaudio itself with LD_BIND_NOW set, just find the correct flag for the linker to request immediate bindings (all ELF files support that option), and use that when linking the daemon. Reduce the amount of compiled and executed code as well.
| | * | daemon: reset personality, to make the autospawn env cleaup completeLennart Poettering2009-07-221-0/+10
| | |/
| * / daemon: before exec'ing ourselves, make sure nobody plays games with ↵Lennart Poettering2009-07-201-4/+12
| |/ | | | | | | /proc/self/exe
* | Finish the Core dbus interface.Tanu Kaskinen2009-07-211-2/+2
| |
* | dbus: Implement the Name property of the core object.Tanu Kaskinen2009-07-032-71/+345
| |
* | server-lookup: Update the D-Bus identifiers to be versioned.Tanu Kaskinen2009-06-302-7/+10
| |
* | Merge branch 'master' into dbus-workTanu Kaskinen2009-06-291-0/+1
|\|
| * Add a missing sys/stat.h include for FreeBSD to declare umask().Diego Elio 'Flameeyes' Pettenò2009-06-291-0/+1
| |
* | Merge branch 'master' into dbus-workTanu Kaskinen2009-06-299-327/+90
|\| | | | | | | | | | | | | | | Conflicts: src/daemon/daemon-conf.c src/daemon/daemon-conf.h src/daemon/main.c src/pulsecore/dbus-util.h
| * rtclock: fix build after mergeLennart Poettering2009-06-221-1/+0
| |
| * Merge most of elmarco/rtclock2Lennart Poettering2009-06-222-5/+7
| |\ | | | | | | | | | Merge commit 'e4d914c945c13d23b131d7ba75fbdd03cb6d0043'
| | * Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the mainloop to monotonic based time events. Introduces 4 helper functions: pa_{context,core}_rttime_{new,restart}(), that fill correctly a timeval with the rtclock flag set if the mainloop supports it. Both mainloop-test and mainloop-test-glib works with rt and timeval based time events. PulseAudio and clients should be fully functional. This patch has received several iterations, and this one as been largely untested. Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
| | * pulse: move pa_rtclock_now in pulsecommonMarc-André Lureau2009-06-202-2/+3
| | |
| | * perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'`Marc-André Lureau2009-06-191-2/+2
| | |
| * | daemon: enable module-intended-roles by defaultLennart Poettering2009-06-221-0/+3
| | |
| * | core: get rid of rt sig/timer handling since modern Linux' ppooll() is ↵Lennart Poettering2009-06-191-6/+0
| | | | | | | | | | | | finally fixed for granularity