linux/security/selinux/netlink.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Netlink event notifications for SELinux.
 *
 * Author: James Morris <[email protected]>
 *
 * Copyright (C) 2004 Red Hat, Inc., James Morris <[email protected]>
 */
#include <linux/init.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/skbuff.h>
#include <linux/selinux_netlink.h>
#include <net/net_namespace.h>
#include <net/netlink.h>

#include "security.h"

static struct sock *selnl __ro_after_init;

static int selnl_msglen(int msgtype)
{}

static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data)
{}

static void selnl_notify(int msgtype, void *data)
{}

void selnl_notify_setenforce(int val)
{}

void selnl_notify_policyload(u32 seqno)
{}

static int __init selnl_init(void)
{}

__initcall(selnl_init);