Lennart Poettering
8e94f65348
daemon: make sure pa has its own session and process group, but is not its leader so that we cannot acquire a tty ever
2009-10-31 02:43:47 +01:00
David Yoder
5c57650769
daemon: realpath segfault fix
...
Lennart,
Apparently I was debugging this at the same time as you. I can't figure out
why my Fedora 11 install with glibc-2.10 has a glibc realpath that doesn't
match the gnu documentation and returns null. But it does.
Your commit aa8ce5bb9b almost fixed my
problem, but it needs a tweak.
Thanks,
David Yoder
2009-10-31 01:56:59 +01:00
Lennart Poettering
366ab9633b
git: ignore kde related files
2009-10-30 05:20:00 +01:00
Lennart Poettering
aa8ce5bb9b
daemon: don't crash if pa_realpath() fails
2009-10-30 05:08:48 +01:00
Lennart Poettering
168be3830a
use pa_fopen_cloexec() where applicable
2009-10-30 04:54:19 +01:00
Lennart Poettering
65e7bc18a9
use cloexec wrappers wherever applicable
2009-10-30 03:32:38 +01:00
Lennart Poettering
d0b478e9a6
Merge remote branch 'coling/history'
2009-10-07 03:46:06 +02:00
Tanu Kaskinen
019331d25b
Merge branch 'master' into dbus-work
...
Conflicts:
src/daemon/daemon-conf.c
2009-10-02 17:24:44 +03:00
Colin Guthrie
50db81c860
device-manager: Fix typo in module loading script.
2009-10-02 00:49:50 +01:00
Colin Guthrie
42e28ce31c
device-manager: Add some scripts that are only run under KDE to load/initialise module-device-manager with routing turned on.
2009-10-01 22:33:22 +01:00
Lennart Poettering
b8de3bd214
polkit: drop left-over polkit policy file from git tree
2009-09-29 23:48:07 +02:00
Nix
eac566226e
Don't refuse to start on systems using GNU stow, graft, STORE et al
...
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.
2009-09-29 19:32:25 +02:00
Colin Guthrie
8f29968788
conf: Fix typo in daemon.conf: rlimit-rtttime - too many t's
...
Spotted by peol on IRC
2009-09-18 16:10:13 +01:00
Lennart Poettering
812be32783
daemon: disable CPU load limiter by default
...
RLIMIT_RTTIME and rtki can do this job much better, so let's disable
this by default.
2009-09-04 02:48:37 +02:00
Lennart Poettering
d088c8f05a
daemon: make use of SIMD optional via config variable to ease debugging
2009-09-03 00:19:03 +02:00
Lennart Poettering
39e4652a78
daemon: drop polkit code from git repo we weren't using anymore
2009-09-02 04:05:41 +02:00
Lennart Poettering
a8c0f65fae
daemon: clean up environment when forking off children
2009-09-02 00:42:54 +02:00
Lennart Poettering
dfe3f90b37
daemon: don't override path env vars if they are already set
2009-09-01 00:53:49 +02:00
Tanu Kaskinen
2f3fc2f1d6
Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work
...
Conflicts:
src/Makefile.am
2009-08-24 14:43:11 +03:00
Lennart Poettering
ab5ac06ac7
Merge commit 'wtay/optimize'
2009-08-23 00:06:35 +02:00
Lennart Poettering
aa5429805f
daemon: don't free script_commands twice
2009-08-22 03:16:47 +02:00
Scott Reeves
de19bdd34e
daemon: fix leak of script_commands
2009-08-21 23:59:39 +02:00
Lennart Poettering
8a2a6b2004
adjust various data/library paths automatically if we are run from a build tree
2009-08-21 03:43:53 +02:00
Wim Taymans
951bf1b28d
svolume: add ARM optimized volume scaling
2009-08-20 11:31:03 +02:00
Wim Taymans
25724cdd40
Get rid of liboil
...
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.
2009-08-20 11:31:03 +02:00
Wim Taymans
563cb2dea9
main: hook up cpu detection code
...
Add CPU detection code to activate the various optimisations.
Move some method definitions around.
Use compatibility macros when we can.
2009-08-20 11:31:03 +02:00
Wim Taymans
7086784573
volume_sse: add sse optimisations
2009-08-20 11:31:02 +02:00
Wim Taymans
3a0b012ee0
volume: add first mmx optimized function
...
Add code for an mmx optimized version of s16ne volume scaling. Install the
custom function.
2009-08-20 11:31:02 +02:00
Tanu Kaskinen
bcaba0b1b4
Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work
...
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
2009-08-16 21:25:48 +03:00
Lennart Poettering
a1598c742e
daemon: reset gids too, not just uids
2009-08-14 19:28:18 +02:00
Lennart Poettering
27b8cd783c
daemon: reset scheduling priority on startup, too
2009-08-12 21:37:40 +02:00
Lennart Poettering
ef176ecb62
core-util: move personality resetting into core-util
2009-08-12 21:36:52 +02:00
Lennart Poettering
9f53aa5546
daemon: unconditionally clean up priviliges
2009-08-12 21:35:48 +02:00
Lennart Poettering
facae1f275
conf: invert all negative boolean configuration option
2009-08-12 20:15:28 +02:00
Lennart Poettering
eb40da25d6
daemon: install D-Bus system policy file for PA system instances
...
Original patch from 'mgrela'.
http://pulseaudio.org/ticket/582
2009-08-12 01:50:24 +02:00
Diego Elio 'Flameeyes' Pettenò
4c15115007
Split OSS support in output and wrapper.
...
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.
2009-08-08 01:53:15 +02:00
Lennart Poettering
88d5749f6a
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
...
Conflicts:
src/daemon/main.c
2009-07-23 15:18:06 +02:00
Lennart Poettering
41ad33dfe7
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
2009-07-22 22:49:06 +02:00
Lennart Poettering
2f54b5df18
daemon: reset personality, to make the autospawn env cleaup complete
2009-07-22 22:47:51 +02:00
Tanu Kaskinen
9347e90fed
Finish the Core dbus interface.
2009-07-21 00:02:27 +03:00
Lennart Poettering
a2b207e38a
daemon: before exec'ing ourselves, make sure nobody plays games with /proc/self/exe
2009-07-20 15:48:36 +01:00
Diego Elio 'Flameeyes' Pettenò
84200b423e
Remove exploitable LD_BIND_NOW hack (CVE-2009-1894).
...
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.
2009-07-16 15:57:41 +02:00
Tanu Kaskinen
5c7952e4fa
dbus: Implement the Name property of the core object.
2009-07-03 02:49:07 +03:00
Tanu Kaskinen
6e2fec05dd
server-lookup: Update the D-Bus identifiers to be versioned.
2009-06-30 15:21:20 +03:00
Tanu Kaskinen
c266595058
Merge branch 'master' into dbus-work
2009-06-29 18:55:12 +03:00
Diego Elio 'Flameeyes' Pettenò
2f7bce9375
Add a missing sys/stat.h include for FreeBSD to declare umask().
2009-06-29 17:40:56 +02:00
Tanu Kaskinen
0bc538b08c
Merge branch 'master' into dbus-work
...
Conflicts:
src/daemon/daemon-conf.c
src/daemon/daemon-conf.h
src/daemon/main.c
src/pulsecore/dbus-util.h
2009-06-29 18:35:06 +03:00
Lennart Poettering
3ee29004a9
rtclock: fix build after merge
2009-06-22 23:15:01 +02:00
Lennart Poettering
fc33f7ee97
Merge most of elmarco/rtclock2
...
Merge commit 'e4d914c945 '
2009-06-22 23:09:46 +02:00
Lennart Poettering
de5219aafb
daemon: enable module-intended-roles by default
2009-06-22 22:44:29 +02:00