Changeset cecef0 in git


Ignore:
Timestamp:
Nov 9, 2012, 9:42:28 PM (10 years ago)
Author:
Zoltán Kovács <zoltan@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
c9050082385152a64066f7540914cae34d990a43
Parents:
f4f1c1ec9b2d7be3be1f0eccd74a710d8ef4a6b3
Message:
Give more information on restricted mode
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    rf4f1c1e rcecef0  
    337337    {
    338338      if (feOptValue(FE_OPT_NO_SHELL)) {
    339        WerrorS("not allowed");
     339       WerrorS("shell execution is disallowed in restricted mode");
    340340       return TRUE;
    341341       }
  • Singular/feOptTab.h

    rf4f1c1e rcecef0  
    131131
    132132  {"no-shell",          no_argument,        LONG_OPTION_RETURN,
    133    0,          "Disallow using shell escape commands (including links)", feOptBool,  0,      0},
     133   0,          "Restricted mode: prohibit shell escape commands and links", feOptBool,  0,      0},
    134134
    135135  {"min-time",          required_argument,  LONG_OPTION_RETURN,
  • Singular/ipid.cc

    rf4f1c1e rcecef0  
    153153    //the types with the standard init: set the struct to zero
    154154    case LINK_CMD:
    155       if (feOptValue(FE_OPT_NO_SHELL)) Werror("not allowed");
     155      if (feOptValue(FE_OPT_NO_SHELL)) Werror("link data type is disallowed in restricted mode");
    156156      return (void*) omAlloc0Bin(sip_link_bin);
    157157    case RING_CMD:
  • Singular/tesths.cc

    rf4f1c1e rcecef0  
    152152"FB Mathematik der Universitaet, D-67653 Kaiserslautern        \\\n"
    153153, S_VERSION1,S_VERSION2);
     154  if (feOptValue(FE_OPT_NO_SHELL)) Warn("running in restricted mode:"
     155    " shell invocation and links are disallowed");
    154156  }
    155157  else
  • doc/singular.man

    rf4f1c1e rcecef0  
    6969.TP
    7070\fB\-\-no\-shell\fR
    71 Disallow using shell escape commands (including links)
     71Restricted mode: Prohibit shell escape commands and links
    7272.TP
    7373\fB\-\-min\-time\fR=\fISECS\fR
Note: See TracChangeset for help on using the changeset viewer.