linux/security/landlock/setup.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Landlock LSM - Security framework setup
 *
 * Copyright © 2016-2020 Mickaël Salaün <[email protected]>
 * Copyright © 2018-2020 ANSSI
 */

#include <linux/init.h>
#include <linux/lsm_hooks.h>
#include <uapi/linux/lsm.h>

#include "common.h"
#include "cred.h"
#include "fs.h"
#include "net.h"
#include "setup.h"
#include "task.h"

bool landlock_initialized __ro_after_init =;

struct lsm_blob_sizes landlock_blob_sizes __ro_after_init =;

const struct lsm_id landlock_lsmid =;

static int __init landlock_init(void)
{}

DEFINE_LSM(LANDLOCK_NAME) =;