summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/security/audit/audit_pipe.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/security/audit/audit_pipe.c b/sys/security/audit/audit_pipe.c
index 50d026c..501254b 100644
--- a/sys/security/audit/audit_pipe.c
+++ b/sys/security/audit/audit_pipe.c
@@ -457,6 +457,16 @@ audit_pipe_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag,
error = EINVAL;
break;
+ case AUDITPIPE_GET_QLIMIT_MIN:
+ *(u_int *)data = AUDIT_PIPE_QLIMIT_MIN;
+ error = 0;
+ break;
+
+ case AUDITPIPE_GET_QLIMIT_MAX:
+ *(u_int *)data = AUDIT_PIPE_QLIMIT_MAX;
+ error = 0;
+ break;
+
case AUDITPIPE_GET_INSERTS:
*(u_int *)data = ap->ap_inserts;
error = 0;
OpenPOWER on IntegriCloud