Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Document that veriexec_file_add() also expects keep...



details:   https://anonhg.NetBSD.org/src/rev/08bd30e3fdbe
branches:  trunk
changeset: 841118:08bd30e3fdbe
user:      alnsn <alnsn%NetBSD.org@localhost>
date:      Sun Apr 28 21:36:19 2019 +0000

description:
Document that veriexec_file_add() also expects keep-filename and eval-on-load.

diffstat:

 sys/kern/kern_veriexec.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 5408ec74e91d -r 08bd30e3fdbe sys/kern/kern_veriexec.c
--- a/sys/kern/kern_veriexec.c  Sun Apr 28 19:26:48 2019 +0000
+++ b/sys/kern/kern_veriexec.c  Sun Apr 28 21:36:19 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_veriexec.c,v 1.19 2019/02/04 09:54:47 mrg Exp $   */
+/*     $NetBSD: kern_veriexec.c,v 1.20 2019/04/28 21:36:19 alnsn Exp $ */
 
 /*-
  * Copyright (c) 2005, 2006 Elad Efrat <elad%NetBSD.org@localhost>
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_veriexec.c,v 1.19 2019/02/04 09:54:47 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_veriexec.c,v 1.20 2019/04/28 21:36:19 alnsn Exp $");
 
 #include "opt_veriexec.h"
 
@@ -1029,7 +1029,8 @@
 /*
  * Add a file to be monitored by Veriexec.
  *
- * Expected elements in dict: file, fp, fp-type, entry-type.
+ * Expected elements in dict:
+ *     file, fp, fp-type, entry-type, keep-filename, eval-on-load.
  */
 int
 veriexec_file_add(struct lwp *l, prop_dictionary_t dict)



Home | Main Index | Thread Index | Old Index