[BACK]Return to signify.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / signify

Diff for /src/usr.bin/signify/signify.c between version 1.100 and 1.101

version 1.100, 2015/01/16 06:16:12 version 1.101, 2015/10/08 16:45:50
Line 663 
Line 663 
                 VERIFY                  VERIFY
         } verb = NONE;          } verb = NONE;
   
           if (tame("stdio rpath wpath cpath tty", NULL) == -1)
                   err(1, "tame");
   
         rounds = 42;          rounds = 42;
   
Line 721 
Line 723 
         }          }
         argc -= optind;          argc -= optind;
         argv += optind;          argv += optind;
   
           switch (verb) {
           case GENERATE:
           case SIGN:
                   /* keep it all */
                   break;
           case CHECK:
                   if (tame("stdio rpath", NULL) == -1)
                           err(1, "tame");
                   break;
           case VERIFY:
                   if (embedded && (!msgfile || strcmp(msgfile, "-") != 0)) {
                           if (tame("stdio rpath wpath cpath", NULL) == -1)
                                   err(1, "tame");
                   } else {
                           if (tame("stdio rpath", NULL) == -1)
                                   err(1, "tame");
                   }
                   break;
           default:
                   if (tame("stdio", NULL) == -1)
                           err(1, "tame");
                   break;
           }
   
 #ifndef VERIFYONLY  #ifndef VERIFYONLY
         if (verb == CHECK) {          if (verb == CHECK) {

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.101