~ubuntu-branches/ubuntu/lucid/dbus/lucid

« back to all changes in this revision

Viewing changes to bus/config-parser-common.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2009-01-16 11:03:53 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20090116110353-al4e37blbk40j23t
Tags: 1.2.12-0ubuntu1
* New upstream release:  (LP: #306362)
  - Correct default configuration to deny sending messages that are not
    signals or expected replies. [CVE-2008-4311]a
  - Default system bus policy cleaned up and clarified.
  - Add system logging of method denials and config file reloads.
  - Abstract sockets not tested for if explicitly disabled.
  - More efficient validation for fixed-size type arrays.
  - Serial printed by dbus-monitor.
  - New --address option for dbus-send

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
    {
115
115
      return ELEMENT_ASSOCIATE;
116
116
    }
 
117
  else if (strcmp (name, "syslog") == 0)
 
118
    {
 
119
      return ELEMENT_SYSLOG;
 
120
    }
 
121
  else if (strcmp (name, "keep_umask") == 0)
 
122
    {
 
123
      return ELEMENT_KEEP_UMASK;
 
124
    }
117
125
  return ELEMENT_NONE;
118
126
}
119
127
 
162
170
      return "selinux";
163
171
    case ELEMENT_ASSOCIATE:
164
172
      return "associate";
 
173
    case ELEMENT_SYSLOG:
 
174
      return "syslog";
 
175
    case ELEMENT_KEEP_UMASK:
 
176
      return "keep_umask";
165
177
    }
166
178
 
167
179
  _dbus_assert_not_reached ("bad element type");