sidtab.h (8e4e4c2f53ffcb0ef746dc3b87ce1a57c5c94c7d) sidtab.h (048be156491ff1aeb0fe5ff0862644d38cd39015)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * A security identifier table (sidtab) is a lookup table
4 * of security context structures indexed by SID value.
5 *
6 * Original author: Stephen Smalley, <sds@tycho.nsa.gov>
7 * Author: Ondrej Mosnacek, <omosnacek@gmail.com>
8 *

--- 51 unchanged lines hidden (view full) ---

60};
61
62struct sidtab_isid_entry {
63 int set;
64 struct sidtab_entry entry;
65};
66
67struct sidtab_convert_params {
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * A security identifier table (sidtab) is a lookup table
4 * of security context structures indexed by SID value.
5 *
6 * Original author: Stephen Smalley, <sds@tycho.nsa.gov>
7 * Author: Ondrej Mosnacek, <omosnacek@gmail.com>
8 *

--- 51 unchanged lines hidden (view full) ---

60};
61
62struct sidtab_isid_entry {
63 int set;
64 struct sidtab_entry entry;
65};
66
67struct sidtab_convert_params {
68 int (*func)(struct context *oldc, struct context *newc, void *args, gfp_t gfp_flags);
69 void *args;
68 struct convert_context_args *args;
70 struct sidtab *target;
71};
72
73#define SIDTAB_HASH_BITS CONFIG_SECURITY_SELINUX_SIDTAB_HASH_BITS
74#define SIDTAB_HASH_BUCKETS (1 << SIDTAB_HASH_BITS)
75
76struct sidtab {
77 /*

--- 82 unchanged lines hidden ---
69 struct sidtab *target;
70};
71
72#define SIDTAB_HASH_BITS CONFIG_SECURITY_SELINUX_SIDTAB_HASH_BITS
73#define SIDTAB_HASH_BUCKETS (1 << SIDTAB_HASH_BITS)
74
75struct sidtab {
76 /*

--- 82 unchanged lines hidden ---