move P_tmpdir from /usr/tmp to /var/tmp
[unix-history] / usr / src / include / sysexits.h
index 6ef7505..d6fd90b 100644 (file)
@@ -1,3 +1,12 @@
+/*
+ * Copyright (c) 1987 Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
+ *
+ *     @(#)sysexits.h  4.7 (Berkeley) %G%
+ */
+
 /*
 **  SYSEXITS.H -- Exit status codes for system programs.
 **
 /*
 **  SYSEXITS.H -- Exit status codes for system programs.
 **
 **             and the request should be reattempted later.
 **     EX_PROTOCOL -- the remote system returned something that
 **             was "not possible" during a protocol exchange.
 **             and the request should be reattempted later.
 **     EX_PROTOCOL -- the remote system returned something that
 **             was "not possible" during a protocol exchange.
+**     EX_NOPERM -- You did not have sufficient permission to
+**             perform the operation.  This is not intended for
+**             file system problems, which should use NOINPUT or
+**             CANTCREAT, but rather for higher level permissions.
+**             For example, kre uses this to restrict who students
+**             can send mail to.
 **
 **     Maintained by Eric Allman (eric@berkeley, ucbvax!eric) --
 **             please mail changes to me.
 **
 **
 **     Maintained by Eric Allman (eric@berkeley, ucbvax!eric) --
 **             please mail changes to me.
 **
-**                     @(#)sysexits.h  3.1             %G%
+**                     @(#)sysexits.h  4.7             %G%
 */
 
 # define EX_OK         0       /* successful termination */
 */
 
 # define EX_OK         0       /* successful termination */
@@ -73,3 +88,7 @@
 # define EX_IOERR      74      /* input/output error */
 # define EX_TEMPFAIL   75      /* temp failure; user is invited to retry */
 # define EX_PROTOCOL   76      /* remote error in protocol */
 # define EX_IOERR      74      /* input/output error */
 # define EX_TEMPFAIL   75      /* temp failure; user is invited to retry */
 # define EX_PROTOCOL   76      /* remote error in protocol */
+# define EX_NOPERM     77      /* permission denied */
+# define EX_CONFIG     78      /* configuration error */
+
+# define EX__MAX       78      /* maximum listed value */