Source-Changes-HG archive

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

[src/netbsd-3]: src/sbin/veriexecctl Pull up revision 1.12 (requested by elad...



details:   https://anonhg.NetBSD.org/src/rev/42f768f99b18
branches:  netbsd-3
changeset: 576941:42f768f99b18
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Aug 15 12:41:22 2005 +0000

description:
Pull up revision 1.12 (requested by elad in ticket #655):
Add and document some convenience aliases for commonly required option
combinations.

diffstat:

 sbin/veriexecctl/veriexecctl_parse.y |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 154162eb02f0 -r 42f768f99b18 sbin/veriexecctl/veriexecctl_parse.y
--- a/sbin/veriexecctl/veriexecctl_parse.y      Mon Aug 15 12:38:03 2005 +0000
+++ b/sbin/veriexecctl/veriexecctl_parse.y      Mon Aug 15 12:41:22 2005 +0000
@@ -1,5 +1,5 @@
 %{
-/*     $NetBSD: veriexecctl_parse.y,v 1.4.2.7 2005/08/12 06:45:39 snj Exp $    */
+/*     $NetBSD: veriexecctl_parse.y,v 1.4.2.8 2005/08/15 12:41:22 tron Exp $   */
 
 /*-
  * Copyright 2005 Elad Efrat <elad%bsd.org.il@localhost>
@@ -160,6 +160,14 @@
                        params.type |= VERIEXEC_INDIRECT;
                } else if (strcasecmp($1, "file") == 0) {
                        params.type |= VERIEXEC_FILE;
+               } else if (strcasecmp($1, "program") == 0) {
+                       params.type |= VERIEXEC_DIRECT;
+               } else if (strcasecmp($1, "interpreter") == 0) {
+                       params.type |= VERIEXEC_INDIRECT;
+               } else if (strcasecmp($1, "script") == 0) {
+                       params.type |= (VERIEXEC_FILE | VERIEXEC_DIRECT);
+               } else if (strcasecmp($1, "library") == 0) {
+                       params.type |= VERIEXEC_FILE;
                } else {
                        yyerror("Bad flag");
                        YYERROR;



Home | Main Index | Thread Index | Old Index