summaryrefslogtreecommitdiffstats
path: root/src/daemon/main.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
* Add a missing sys/stat.h include for FreeBSD to declare umask().Diego Elio 'Flameeyes' Pettenò2009-06-291-0/+1
|
* rtclock: fix build after mergeLennart Poettering2009-06-221-1/+0
|
* Merge most of elmarco/rtclock2Lennart Poettering2009-06-221-2/+3
|\ | | | | | | 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-201-1/+1
| |
* | core: get rid of rt sig/timer handling since modern Linux' ppooll() is ↵Lennart Poettering2009-06-191-6/+0
| | | | | | | | finally fixed for granularity
* | daemon: strip all special suid/caps log from our startup code, we'll now ↵Lennart Poettering2009-06-191-182/+15
|/ | | | rely on RealtimeKit for all high-priority/RT scheduling policy issues
* daemon: write a warning blurb to syslog when folks use --system modeLennart Poettering2009-06-171-0/+5
|
* daemon: optionally call mlockall() on startupLennart Poettering2009-06-071-0/+15
|
* core-util: introduce pa_disable_sigpipe()Lennart Poettering2009-05-261-3/+1
|
* memtrap: hook up core to memtrap systemLennart Poettering2009-04-211-0/+3
|
* print session id when starting upLennart Poettering2009-04-131-0/+5
|
* Downgrade default log level to NOTICE to follow documentationLennart Poettering2009-04-101-1/+1
| | | | Closes #527
* make sure we keep a reference of the bus connection during the whole runtime ↵Lennart Poettering2009-04-061-9/+27
| | | | if we manage to acquire the bus name
* various spelling fixesMaarten Bosmans2009-04-041-1/+1
|
* downgrade a few messagesLennart Poettering2009-04-031-3/+3
|
* take org.pulseaudio.Server instead of org.pulseaudio to match the interface ↵Lennart Poettering2009-03-301-3/+3
| | | | name already used in the HAL module
* daemon: take org.pulseaudioMarc-André Lureau2009-03-301-0/+32
|
* introduce pa_assert_fp() for fast path assertionsLennart Poettering2009-03-201-0/+8
|
* revive solaris moduleFinn Thain2009-03-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hi All, This patch fixes the solaris audio device source and sink, and fixes some portability issues that break the build on solaris. Questions and comments welcomed. I've tested this patch only with OpenSolaris Express snv 103. Eventually I hope to be able to test a few older releases and older hardware (though it is hard to say whether there is much interest in those). This is my first brush with pulseaudio and so I read the wiki docs and some of the source code but I'm still unsure of a few things. In particular I'm wondering about rewind processing, corking and what (if anything) the module needs for those. I'm also unclear on the implications of thread_info.buffer_size, .fragment_size and .max_request, and whether my code is correct or not. This patch disables link map/library versioning unless ld is GNU ld. Another approach for solaris would be to use that linker's -M option, but I couldn't make that work (due to undefined mainloop, browse and simple symbols when linking pacat. I can post the errors if anyone is intested.) Thanks, Finn Thain
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* rework logging to make it more modularLennart Poettering2009-02-211-6/+9
|
* make string translatable (fixes #483)Lennart Poettering2009-02-211-2/+3
|
* introduce default channel map in addition to the default sample specLennart Poettering2009-02-211-0/+1
|
* main: remove unused lf variableMarc-André Lureau2009-02-191-4/+0
|
* allow pa to be run in a chroot() environment tht lacks /procLennart Poettering2009-02-181-2/+5
|
* store the default sink/source in proper pa_sink*/pa_source* pointers instead ↵Lennart Poettering2009-01-281-5/+0
| | | | of a string
* move flat volume logic into the core. while doing so add n_volume_steps ↵Lennart Poettering2009-01-271-0/+1
| | | | field to sinks/sources
* check for availability of RLIMIT_NOFILE and RLIMIT_AS before we make use of itLennart Poettering2009-01-271-0/+2
|
* add API pa_ncpus()Lennart Poettering2009-01-221-0/+2
|
* NetBSD doesn't know RLIMIT_ASJared D. McNeill2009-01-221-0/+2
| | | | Signed-off-by: Lennart Poettering <lennart@poettering.net>
* make use of PR_SET_TIMERSLACKLennart Poettering2009-01-161-0/+2
|
* kill autoload stuff as plannedLennart Poettering2009-01-151-2/+1
|
* Make sure we drop CAP_NICE if RT is not allowedLennart Poettering2008-12-181-7/+39
| | | | | but make sure we still allow RT if RLIMIT_RTPRIO is properly set when PA is called.
* Fix return value of --dump-resample-methodsLennart Poettering2008-12-161-0/+1
| | | | | | | | We should return 0 when --dump-resample-methods is called. Problem identified by "hchen59". Closes bug #407.
* Make log meta, time, backtrace configurable using config fileLennart Poettering2008-10-211-0/+3
|
* Fix spelling of priviligeLennart Poettering2008-10-191-7/+7
|
* Initialize exit_idle_time to -1 instead of 0 when in system mode.Lennart Poettering2008-10-071-2/+2
| | | | Spotted by Rafał Mużyło.
* show valgrind status on startupLennart Poettering2008-10-041-0/+2
|
* Make the shared memory segment size configurableLennart Poettering2008-10-011-1/+1
| | | | | This is useful only on systems where memory overcommit is not available or disabled.
* move autospawn lock to pulsecore/ since we don't need it in the client anymoreLennart Poettering2008-09-081-1/+1
|
* Add new option to disable remixing from/to LFE and set it to on by defaultLennart Poettering2008-09-051-0/+1
|