]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/cups-exec.c
Block cups-files.conf directives (Issue #5530)
[thirdparty/cups.git] / scheduler / cups-exec.c
index 29ded7f72c8f96894f1a9534af7867f945612f6e..674de0a3a7e4f35e3866e79f7e074cac1b1f4b9a 100644 (file)
@@ -1,19 +1,13 @@
 /*
- * "$Id$"
- *
  * Sandbox helper for CUPS.
  *
  * Copyright 2007-2014 by Apple Inc.
  *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law.  Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file.  If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
  *
  * Usage:
  *
- *     cups-exec /path/to/profile UID GID NICE /path/to/program argv0 argv1 ... argvN
+ *     cups-exec /path/to/profile [-u UID] [-g GID] [-n NICE] /path/to/program argv0 argv1 ... argvN
  */
 
 /*
@@ -39,7 +33,7 @@
  * Local functions...
  */
 
-static void    usage(void) __attribute__((noreturn));
+static void    usage(void) _CUPS_NORETURN;
 
 
 /*
@@ -199,8 +193,3 @@ usage(void)
   fputs("Usage: cups-exec [-g gid] [-n nice-value] [-u uid] /path/to/profile /path/to/program argv0 argv1 ... argvN\n", stderr);
   exit(1);
 }
-
-
-/*
- * End of "$Id$".
- */