~xnox/upstart/shrink-notifications

« back to all changes in this revision

Viewing changes to init/errors.h

  • Committer: Dimitri John Ledkov
  • Date: 2014-06-05 22:35:01 UTC
  • mfrom: (1620.2.44 upstart-async)
  • Revision ID: dimitri.ledkov@canonical.com-20140605223501-z4hj7xddug95y59u
Merge cgroups work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
        /* Errors while handling control requests */
56
56
        CONTROL_NAME_TAKEN,
57
57
 
58
 
        /* Errors while handling security profiles */
59
 
        SECURITY_ERROR,
 
58
        /* Errors while manipulating cgroups */
 
59
        CGROUP_ERROR
60
60
};
61
61
 
62
62
/* Error strings for defined messages */
66
66
#define ENVIRON_MISMATCHED_BRACES_STR   N_("Mismatched braces")
67
67
#define JOB_PROCESS_INVALID_SETUID_STR  N_("Invalid setuid user name does not exist")
68
68
#define JOB_PROCESS_INVALID_SETGID_STR  N_("Invalid setgid group name does not exist")
 
69
#define JOB_PROCESS_SECURITY_STR        N_("Failed to set security context")
69
70
#define PARSE_ILLEGAL_INTERVAL_STR      N_("Illegal interval, expected number of seconds")
70
71
#define PARSE_ILLEGAL_EXIT_STR          N_("Illegal exit status, expected integer")
71
72
#define PARSE_ILLEGAL_SIGNAL_STR        N_("Illegal signal status, expected integer")