~ubuntu-branches/ubuntu/saucy/sudo/saucy

« back to all changes in this revision

Viewing changes to include/sudo_debug.h

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-11-16 09:31:32 UTC
  • mfrom: (1.4.13)
  • Revision ID: package-import@ubuntu.com-20121116093132-ptext55adlzbrq6y
Tags: 1.8.6p3-0ubuntu1
* New upstream release (1.8.6p3).
* Add patch to fix building with sssd when ldap is disabled.
* Drop sudo.manpages and sudo-ldap.manpages as the upstream build system
  now does the right thing here.
* Build the main sudo package with support for sssd, this doesn't add any
  additional build time or runtime dependency. sudo will dynamically load
  the sssd library if 'sss' is listed for the 'sudoers' nss service.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
#define SUDO_DEBUG_PERMS        (23<<6) /* uid/gid swapping functions */
72
72
#define SUDO_DEBUG_PLUGIN       (24<<6) /* main plugin functions */
73
73
#define SUDO_DEBUG_HOOKS        (25<<6) /* hook functions */
 
74
#define SUDO_DEBUG_SSSD         (26<<6) /* sudoers SSSD */
74
75
#define SUDO_DEBUG_ALL          0xfff0  /* all subsystems */
75
76
 
76
77
/* Flag to include string version of errno in debug info. */
172
173
#if defined(__GNUC__) && __GNUC__ == 2
173
174
# define sudo_debug_printf(pri, fmt...) \
174
175
    sudo_debug_printf2(__func__, __FILE__, __LINE__, (pri)|sudo_debug_subsys, \
175
 
    (fmt))
 
176
    fmt)
176
177
#else
177
178
# define sudo_debug_printf(pri, ...) \
178
179
    sudo_debug_printf2(__func__, __FILE__, __LINE__, (pri)|sudo_debug_subsys, \