[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file contexts and modularity
> Subdirectory context is obtained from the policy
> using security_compute_member() call.
int security_compute_member(security_context_t scon,
security_context_t tcon,
security_class_t tclass,
security_context_t *newcon)
So, it seems to me that
this is insufficient basis to determine proper newcon -
file_type_auto_trans doesn't work for the same reason.
(scon, tcon, tclass) -> newcon
is a 1:many map, and not 1:1.
So...how will pre-creation work if the file_contexts.homedirs
file is erased (the only many:1 map available,
which becomes 1:1 given evaluation order).
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.
This mailing list archive is a service of Copilot Consulting.