~ubuntu-branches/ubuntu/oneiric/rtkit/oneiric

« back to all changes in this revision

Viewing changes to .pc/01_no-ptrace-cap.patch/rtkit-daemon.c

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2010-10-29 15:34:24 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101029153424-sv80s8zf0mcbi16d
Tags: 0.9-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
#include <syslog.h>
52
52
 
53
53
#include "rtkit.h"
 
54
#include "sd-daemon.h"
54
55
 
55
56
#ifndef __linux__
56
57
#error "This stuff only works on Linux!"
1479
1480
                n_total_processes,
1480
1481
                n_users);
1481
1482
 
 
1483
        sd_notifyf(0,
 
1484
                   "STATUS=Supervising %u threads of %u processes of %u users.",
 
1485
                   n_total_threads,
 
1486
                   n_total_processes,
 
1487
                   n_users);
 
1488
 
1482
1489
finish:
1483
 
 
1484
1490
        if (r) {
1485
1491
                assert_se(dbus_connection_send(c, r, NULL));
1486
1492
                dbus_message_unref(r);
2324
2330
 
2325
2331
        syslog(LOG_DEBUG, "Running.\n");
2326
2332
 
 
2333
        sd_notify(0, "STATUS=Running.");
 
2334
 
2327
2335
        dbus_connection_set_exit_on_disconnect(bus, FALSE);
2328
2336
 
2329
2337
        while (dbus_connection_read_write_dispatch(bus, -1))