components/cups/patches/20-16182423.patch
author John Beck <John.Beck@Oracle.COM>
Fri, 21 Apr 2017 13:14:17 -0700
branchs11u3-sru
changeset 7934 2b9fc4cafd1f
parent 2490 ee4391c71c07
permissions -rw-r--r--
25933097 thunderbird/Makefile must drop library/desktop/gdk-pixbuf from REQUIRED_PACKAGES

--- scheduler/ipp.c	Thu Jan 17 01:48:12 2013
+++ scheduler/ipp.c	Thu Jan 17 01:47:45 2013
@@ -128,6 +128,7 @@
 #include <deflt.h>
 #include <auth_attr.h>
 #include <secdb.h>
+#include <bsm/adt_event.h>
 #endif /* HAVE_TSOL */
 
 /*
@@ -1523,7 +1524,7 @@
            * print request will fail since user
            * does not have the required authorization.
            */
-	  cups_audit_print_request_denial(con, NULL, printer, -1, EACCES);
+	  cups_audit_print_request_denial(con, NULL, printer, -1, ADT_FAIL_VALUE_AUTH);
 	  send_http_error(con, HTTP_UNAUTHORIZED, printer);
 	  return (NULL);
         }
@@ -1546,7 +1547,7 @@
              * print request will fail since user
              * does not have the required authorization.
              */
-            cups_audit_print_request_denial(con, NULL, printer, -1, EACCES);
+            cups_audit_print_request_denial(con, NULL, printer, -1, ADT_FAIL_VALUE_AUTH);
             send_http_error(con, HTTP_UNAUTHORIZED, printer);
             return (NULL);
           }