/* SPDX-License-Identifier: GPL-2.0 */ /* * Type definitions for the multi-level security (MLS) policy. * * Author : Stephen Smalley, <[email protected]> */ /* * Updated: Trusted Computer Solutions, Inc. <[email protected]> * Support for enhanced MLS infrastructure. * Copyright (C) 2004-2005 Trusted Computer Solutions, Inc. */ #ifndef _SS_MLS_TYPES_H_ #define _SS_MLS_TYPES_H_ #include "security.h" #include "ebitmap.h" struct mls_level { … }; struct mls_range { … }; static inline int mls_level_eq(const struct mls_level *l1, const struct mls_level *l2) { … } static inline int mls_level_dom(const struct mls_level *l1, const struct mls_level *l2) { … } #define mls_level_incomp(l1, l2) … #define mls_level_between(l1, l2, l3) … #define mls_range_contains(r1, r2) … #endif /* _SS_MLS_TYPES_H_ */