View | Details | Raw Unified | Return to bug 146435
Collapse All | Expand All

(-)immunix/SubDomain/yastui/src/agents/ag_genprof (-1 / +9 lines)
Lines 140-146 readconfig(); Link Here
140
# not allowed to have it's own profile
140
# not allowed to have it's own profile
141
if($qualifiers{$fqdbin}) {
141
if($qualifiers{$fqdbin}) {
142
  unless($qualifiers{$fqdbin} =~ /p/) {
142
  unless($qualifiers{$fqdbin} =~ /p/) {
143
    fatal_error(sprintf(gettext("\%s is currently marked as a program that should not have it's own profile.  Usually, programs are marked this way if creating a profile for them is likely to break the rest of the system.  If you know what you're doing and are certain you want to create a profile for this program, edit the corresponding entry in the [qualifiers] section in /etc/apparmor/logprof.conf."), $fqdbin));
143
    fatal_error(sprintf(gettext(
144
"\%s is currently marked as a program that should not have
145
it's own profile.  Usually, programs are marked this way
146
if creating a profile for them is likely to break the
147
rest of the system.  If you know what you're doing and
148
are certain you want to create a profile for this program,
149
edit the corresponding entry in the [qualifiers] section
150
in /etc/apparmor/logprof.conf."
151
	    ), $fqdbin));
144
  }
152
  }
145
}
153
}
146
154
(-)immunix/SubDomain/yastui/src/clients/GenProf.ycp (-2 / +2 lines)
Lines 40-46 Link Here
40
  type   = (string) agent_data["type"]:"handshake_error";
40
  type   = (string) agent_data["type"]:"handshake_error";
41
  status = (string) agent_data["status"]:"handshake_error";
41
  status = (string) agent_data["status"]:"handshake_error";
42
  if((type != "initial_handshake") || (status != "backend_starting")) {
42
  if((type != "initial_handshake") || (status != "backend_starting")) {
43
    Popup::Error(_("Syncronization error between frontend and backend."));
43
    Popup::Error(_("Synchronization error between frontend and backend."));
44
    done = true;
44
    done = true;
45
    return;
45
    return;
46
  }
46
  }
Lines 59-65 Link Here
59
59
60
    string type = (string) agent_data["type"]:"error";
60
    string type = (string) agent_data["type"]:"error";
61
    if(type == "initial_handshake") {
61
    if(type == "initial_handshake") {
62
      Popup::Error(_("Syncronization error between frontend and backend."));
62
      Popup::Error(_("Synchronization error between frontend and backend."));
63
      done = true;
63
      done = true;
64
      return;
64
      return;
65
    }
65
    }
(-)immunix/SubDomain/yastui/src/clients/LogProf.ycp (-12 / +12 lines)
Lines 40-46 Link Here
40
  type   = (string) agent_data["type"]:"handshake_error";
40
  type   = (string) agent_data["type"]:"handshake_error";
41
  status = (string) agent_data["status"]:"handshake_error";
41
  status = (string) agent_data["status"]:"handshake_error";
42
  if((type != "initial_handshake") || (status != "backend_starting")) {
42
  if((type != "initial_handshake") || (status != "backend_starting")) {
43
    Popup::Error(_("Syncronization error between frontend and backend."));
43
    Popup::Error(_("Synchronization error between frontend and backend."));
44
    done = true;
44
    done = true;
45
    return;
45
    return;
46
  }
46
  }
Lines 59-65 Link Here
59
59
60
    string type = (string) agent_data["type"]:"error";
60
    string type = (string) agent_data["type"]:"error";
61
    if(type == "initial_handshake") {
61
    if(type == "initial_handshake") {
62
      Popup::Error(_("Syncronization error between frontend and backend."));
62
      Popup::Error(_("Synchronization error between frontend and backend."));
63
      done = true;
63
      done = true;
64
      return;
64
      return;
65
    }
65
    }
Lines 104-110 Link Here
104
           to be unlinked (removed.)
104
           to be unlinked (removed.)
105
       <br>
105
       <br>
106
       <br>
106
       <br>
107
       
107
108
108
109
       <b>Unconfined execute mode</b><br>
109
       <b>Unconfined execute mode</b><br>
110
110
Lines 117-124 Link Here
117
117
118
           This mode is useful when a confined program needs to
118
           This mode is useful when a confined program needs to
119
           be able to perform a privileged operation, such as
119
           be able to perform a privileged operation, such as
120
           rebooting the machine. By placing the privileged section 
120
           rebooting the machine. By placing the privileged section
121
           in another executable and granting unconfined execution rights, 
121
           in another executable and granting unconfined execution rights,
122
	   it is possible to bypass the mandatory
122
	   it is possible to bypass the mandatory
123
           constraints imposed on all confined processes.
123
           constraints imposed on all confined processes.
124
           For more information on what is constrained, see the
124
           For more information on what is constrained, see the
Lines 148-164 Link Here
148
       similar to that used by popular shells, such as csh(1),
148
       similar to that used by popular shells, such as csh(1),
149
       bash(1), zsh(1).
149
       bash(1), zsh(1).
150
       <br>
150
       <br>
151
                                                                                
151
152
       <ul>
152
       <ul>
153
        <li><b>*</b>   can substitute for any number of characters, excepting
153
        <li><b>*</b>   can substitute for any number of characters, excepting
154
          '/'<li>
154
          '/'<li>
155
                                                                                
155
156
        <li><b>**</b>  can substitute for any number of characters, including         '/'</li>
156
        <li><b>**</b>  can substitute for any number of characters, including         '/'</li>
157
                                                                                
157
158
                                                                                
158
159
       <li><b>?</b>   can substitute for any single character excepting '/'</li>                                                                                
159
       <li><b>?</b>   can substitute for any single character excepting '/'</li>
160
       <li><b>[abc]</b> will substitute for the single character a, b, or c</li>                                                                                
160
       <li><b>[abc]</b> will substitute for the single character a, b, or c</li>
161
       <li><b>[a-c]</b> will substitute for the single character a, b, or c</li>                                                                                
161
       <li><b>[a-c]</b> will substitute for the single character a, b, or c</li>
162
       <li><b>{ab,cd}</b> will expand to one rule to match ab, one rule to match           cd</li>\n
162
       <li><b>{ab,cd}</b> will expand to one rule to match ab, one rule to match           cd</li>\n
163
       </ul>");
163
       </ul>");
164
                                            
164
                                            

Return to bug 146435