[tomoyo-users-en 335] Tomoyo: reload changed policy

アーカイブの一覧に戻る
Horvath Andras han****@log69*****
Sat May 14 22:29:13 JST 2011


Hi,

(double mail, sorry.)

I'd like to know whether i can reload domain policy from the text file
back to kernel if i change its text manually, without using
"tomoyo-loadpolicy" binary.

I'd like to achieve this from a C code without the system() call. I
tried to write the file to /sys/kernel/security/tomoyo/domain_policy,
but i have no right to it. I guess it's on purpose to avoid other
processes to change system policy. Sounds logic.

So is there any other proper way without using the external binaries?


Thanks for any help,

Regards,
Andras Horvath




More information about the tomoyo-users-en mailing list
アーカイブの一覧に戻る