Re: 3.9 -> 3.10 policy language syntax changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> the only new stuff added to f16 is named file transitions as far as i
> know. basically allows you to append the name of the to type transition
> object to the type_transition statement or filetrans_pattern()
> 
> type_transition joe_t joes_dir_t:file joes_file_t "joe";
> 
> filetrans_pattern(joe_t, joes_dir_t, joes_file_t, file, "joe")
Not much then! I figured that the if ... else as well as the gen_bool statements are indeed present in 3.9 - I have no idea how I missed that, I must have been drunk or something!

I also found the create_netif_interfaces_controlled set of macros - very useful! This is what I have implemented - in a round-about way - on all my systems here, without knowing of the existence of the if ... else and the gen_bool statements. This macro is going to be very handy when I redefine my custom policy now and bring it up to speed with 3.10 - I am glad I had a more thorough look at the policy this time...
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux