カーネル アンロード EXIT の機能

オペレーティング システムとサード パーティ製プロセスを制御するために、CA ControlMinder では、CA ControlMinder のカーネル拡張機能をアンロードするときに UNIX EXIT を自動的に呼び出すことができます。
cminderpim14jp
オペレーティング システムとサード パーティ製プロセスを制御するために、CA ControlMinder では、CA ControlMinder のカーネル拡張機能をアンロードするときに UNIX EXIT を自動的に呼び出すことができます。
SEOS_load -u
を実行すると、CA ControlMinder は以下のアクションを行います。
  1. 以下のディレクトリ内でプログラムを検索します。
    ACInstallDir/exits/LOAD
  2. 以下の形式のファイル名を持つすべてのプログラムを選択します。
    SEOS_unload_string.always
    ここで、
    string
    は任意の説明文字列です。
  3. ACInstallDir
    /exits/LOAD ディレクトリで見つかった各ファイルを辞書式順序で実行します。
    SEOS_load_string.always -pre
    -pre
    パラメータを指定して各ファイルを実行します。これにより、このパラメータを検出する EXIT を記述して、カーネルをアンロードする前に必要なアクションを実行できます。
    注:
    EXIT がゼロ以外の値を返した場合、CA ControlMinder は EXIT プロセスを強制終了(kill)し、エラー メッセージを表示してカーネルのアンロードを中止します。
  4. カーネルのアンロードを試行します。
    カーネルがアンロード
    されない
    場合は、以下の手順に従います。
    1. 以下の形式のファイル名を持つすべてのプログラムを選択します。
    SEOS_unload_string.opt Executes, in lexicographical order, each file it found in the directory ACInstallDir/exits/LOAD: SEOS_unload_string.opt -preEach file is executed with the -pre parameter so that you can write your conditional exits to detect the parameter and perform the additional optional actions required before the kernel is unloaded.Note: If the exit returns a nonzero value, CA ControlMinder kills the exit process, displays an error message, and aborts the kernel unloading.Unloads the kernel.Executes, in lexicographical order, each file it found in the directory ACInstallDir/exits/LOAD: SEOS_unload_string.opt -postEach file is executed with the -post parameter so that you can write your conditional exits to detect the parameter and perform the additional optional actions required before the kernel is unloaded.Note: If the exit returns a nonzero value, CA ControlMinder kills the exit process and displays an error message. Having already been unloaded, the CA ControlMinder kernel remains unloaded.
    SEOS_unload_
    string
    .opt
    1. ACInstallDir
      /exits/LOAD ディレクトリで見つかった各ファイルを辞書式順序で実行します。
  5. ACInstallDir
    /exits/LOAD ディレクトリで見つかった各ファイルを辞書式順序で実行します。
    SEOS_unload_string.always -post
    -post
    パラメータを指定して各ファイルを実行します。これにより、このパラメータを検出する EXIT を記述して、カーネルをロードした後に必要なアクションを実行できます。
    注:
    EXIT がゼロ以外の値を返した場合、CA ControlMinder は exit プロセスを強制終了(kill)し、エラー メッセージを表示します。CA ControlMinder カーネルはすでにアンロードされているため、アンロードされたままになります。