/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Netlink event notifications for SELinux. * * Author: James Morris <[email protected]> * * Copyright (C) 2004 Red Hat, Inc., James Morris <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, * as published by the Free Software Foundation. */ #ifndef _LINUX_SELINUX_NETLINK_H #define _LINUX_SELINUX_NETLINK_H #include <linux/types.h> /* Message types. */ #define SELNL_MSG_BASE … enum { … }; #ifndef __KERNEL__ /* Multicast groups - backwards compatiblility for userspace */ #define SELNL_GRP_NONE … #define SELNL_GRP_AVC … #define SELNL_GRP_ALL … #endif enum selinux_nlgroups { … }; #define SELNLGRP_MAX … /* Message structures */ struct selnl_msg_setenforce { … }; struct selnl_msg_policyload { … }; #endif /* _LINUX_SELINUX_NETLINK_H */