Unifdef MAC label pointer in syncache entries -- in general, ifdef'd

structure contents are a bad idea in the kernel for binary
compatibility reasons, and this is a single pointer that is now included
in compiles by default anyway due to options MAC being in GENERIC.
This commit is contained in:
Robert Watson 2009-06-05 14:31:03 +00:00
parent 0da4382a75
commit 88a9a9a61c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193510

View File

@ -74,9 +74,7 @@ struct syncache {
struct toe_usrreqs *sc_tu; /* TOE operations */
void *sc_toepcb; /* TOE protocol block */
#endif
#ifdef MAC
struct label *sc_label; /* MAC label reference */
#endif
struct ucred *sc_cred; /* cred cache for jail checks */
};