LoginSignup
0
0

More than 5 years have passed since last update.

TOMOYOLinuxをUbuntu16.04にインストールする方法

Last updated at Posted at 2017-12-21

はじめに

自身への覚書程度になので、詳しくはTOMOYOLinux公式サイトを参照してください。

Ubuntu16.04に対するTOMOYOLinux

TOMOYOLinuxにはいくつかバージョンがありますが、Ubuntu16.04では2.5.x系をデフォルトで使用することができる.

したがって1.x系などに見られるカーネルを含めたコンパイルなども必要ない.

対応しているか確認するためには
grep tomoyo_write_inet_network /proc/kallsyms
に対して以下が得られればOK
ffffffff8115e460 T tomoyo_write_inet_network

もちろんUbuntu16.04は対応している.

インストールtomoyo-tools

aptで簡単にインストール
sudo apt install tomoyo-tools

初期化

ツールのパスを通す.

export PATH=$PATH:/usr/sbin

ポリシーを初期化する

/usr/lib/tomoyo/init_policy

ブートローダを設定

デフォルトでされているのでOK

sudo update-grub

再起動!!!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0