Skip to contentSkip to conversation

Patch: rename semod

DISCUSSION Ivan Gyurdiev 2 participants 3 messages Jul 19, 2005 – Jul 20, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

The following patch renames all occurences of semod to semanage. It's zipped and large, because it renames the folder too. You can re-diff the old libsemod against libsemanage to verify contents.

semod_ -> semanage_ : everywhere, automated replace semod -> semanage : everywhere, manual replace SEMOD -> SEMANAGE : everywhere, manual replace

semodule -> not replaced

Diff is against selinux-usr folder in CVS, and
affects multiple programs.

Haven't verified correctness of automated replace beyond checking if everything compiles (which it does).

#1 lore raw
Quoted 4 lines · Ivan Gyurdiev

The following patch renames all occurences of semod to semanage. It's zipped and large, because it renames the folder too. You can re-diff the old libsemod against libsemanage to verify contents.

Quoted 10 lines

semod_ -> semanage_ : everywhere, automated replace

semod -> semanage : everywhere, manual replace

SEMOD -> SEMANAGE : everywhere, manual replace

This isn't correct, not all symbols will be changed as some have to do with modules exclusively (and are internal)

Quoted 9 lines

semodule -> not replaced

Diff is against selinux-usr folder in CVS, and
affects multiple programs.

Haven't verified correctness of automated replace beyond checking if everything compiles (which it does).

I'll be sending a patch that implements the API we discussed here and does all the necessary changes that applies against cvs sometime soon.

Joshua

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#2 lore raw
Quoted 3 lines

I'll be sending a patch that implements the API we discussed here and does all the necessary changes that applies against cvs sometime soon.

I would like to contribute to the API, and the implementation, but in order to do that libsemod should be renamed first...

Anyway, I'll send some libsepol patches instead, if you don't want it changed yet.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.