summaryrefstree
path: root/kernel/security/dsms/dsms_policy.c
blob: 064d0816968494aa737b9f9b5c8977ed3abe9de5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
 *
 * 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.
 */

#include <linux/dsms.h>

#include "dsms_access_control.h"

// Policy entries *MUST BE* ordered by function_name field, as the find
// function uses binary search to find the function entry in the policy table.

// vvvvv DO NOT CHANGE THESE LINES! vvvvv
struct dsms_policy_entry dsms_policy[] = {
}; // dsms_policy
// ^^^^^ DO NOT CHANGE THESE LINES! ^^^^^

size_t dsms_policy_size(void)
{
	return (sizeof dsms_policy)/(sizeof *dsms_policy);
}