[cups-devel] [MOD] STR #4726: If filter or backend errors, in the error_log entry exit status and error message do not correspond

Michael Sweet noreply at cups.org
Tue Oct 6 08:13:27 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Resolved]

Till, exit status 100 - 255 are treated as POSIX errno values 0 to 155 -
this mapping is done in cups-exec in order to provide some reporting of its
errors (which are limited since we can't safely call strerror or fprintf
after a fork) while hopefully avoiding filter/backend exit codes (typically
0-6).

So this is working exactly as designed, except that Linux is not returning
an error from the exec system call preventing cups-exec from correctly
reporting the error.

Not sure what to do here since errno 127 is NOT POSIX...

Link: https://www.cups.org/str.php?L4726
Version: 2.0.2
Fix Version: None
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJWE+UXAAoJENujp6sI12IjvWUP/2K0xEdrbi0cN5n1WcFgaPJg
Dcqx5ktQRptr+xRHjX0K0lcUu/1NaI1YCDYefod/amo4L6Ak7MBGHbqU1DP4uok+
iV9FC+s2kVtn8nZdNPTK+86vLofhbM0zffciAxdOwhvy0Uzc7CitiLT6OzdhlfNJ
bur/ybj+beUWwWOan/RYmUqencf/Uin4CcjiMDw4CJzKBClG4EIY78rwPRMRd/Bc
86trH+3Ke7KWy4unGeM6U+e8egRvFSQP7ysNgJ8S/Nm8bL+eq+nLlSiI75jJ71cJ
pSjaaC9F/h9KjoqxRGGa7LDCOkctXVkmcM6GUfdEKj9DoDSyw2NrPIaGiILGSgTA
tgoMVJqSVEpypx2Lsb4hN3tcYZKPbjGPUq0l8WRRkdsLyWyoutRC2Xya9acnCdFG
jiCNXyJYkkjh0I+8geOWAJoTHsWTKwrjU/c+H9yUTjhgEqI5+AqfcLnY+aNZ/KNJ
yEiXl/es3o3QGnQC1t9f/Ss/BgCEBCacR6W2Zj2641oiJyXEDI1vI2Ex42cNskEy
SzQVmF3Ytd9pK2DPws7ZEMKfc1c4yAdUN2bxvRnRlk56YweJsJMItNPnprX6Fy+y
710eKoErqoEQujZgijy7ens+apZABLGXYDkF0xHmjFJqTuZz4RophRIm1J59z9b1
HijNXne3Hg0Eymeqv7lw
=Vy/P
-----END PGP SIGNATURE-----




More information about the cups-devel mailing list