[SSSD] [PATCH] LDAP: Add a new error code for malformed access control filter

Simo Sorce simo at redhat.com
Thu Jan 9 13:45:08 UTC 2014


On Thu, 2014-01-09 at 10:50 +0100, Jakub Hrozek wrote:
> I was actually thinking about mass-replacing strerror for sss_strerror
> in master..since sss_strerror is backwards-compatible, there should be
> no
> issues even if strerror was used to print error message from a system
> call like write(2) where only errno-ranged error code was present.
> 
> Given that we already have one large automated patch (the DEBUG
> levels) coming up and the strerror() calls are largely in the same
> area
> the churn wouldn't be too high..
> 
It would be simpler to add this in header files:
#undef strerror
#define strerror sss_strerror

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the sssd-devel mailing list