Lines Matching refs:limit
664 /* PURPOSE : Scan the ACL buffer and determine what limit applies to */
671 int limit;
677 /* limit <class> <n> <times> [<message_file>] */
678 while (getaclentry("limit", &entry)) {
682 limit = atoi(ARG1);
686 return (limit);
830 /* PURPOSE : Scan the ACL buffer and determine what file limit to use */
851 /* file-limit [<raw>] <in|out|total> <count> [<class>] */
852 while (getaclentry("file-limit", &entry)) {
924 /* PURPOSE : Scan the ACL buffer and determine what data limit to use */
945 /* data-limit [<raw>] <in|out|total> <count> [<class>] */
946 while (getaclentry("data-limit", &entry)) {
1021 /* PURPOSE : Scan the ACL buffer and determine what data limit to use */
1140 /* PURPOSE : Carry out the specified limit operation, returning the */
1142 /* ARGUMENTS : Operation (ACL_COUNT/ACL_JOIN/ACL_REMOVE), user limit */
1145 static int limit_op(int operation, int limit)
1221 /* limit set to -1 when no limit defined */
1222 if ((operation == ACL_JOIN) && (limit != -1) && (hdr.count >= limit)) {
1323 /* ARGUMENTS : The name of the class to join, user limit for the class. */
1327 int acl_join(char *class, int limit)
1337 if (limit_op(ACL_JOIN, limit) < 0) {
1469 int limit;
1498 limit = acl_getlimit(class, msgfile);
1499 if (acl_join(class, limit) < 0) {
1501 syslog(LOG_NOTICE, "ACCESS DENIED (user limit %d; class %s) TO %s",
1502 limit, class, remoteident);