2
* Copyright (C) 2002-2005 Novell/SUSE
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public License as
6
* published by the Free Software Foundation, version 2 of the
9
* http://forge.novell.com/modules/xfmod/project/?apparmor
11
* AppArmor default match submodule (literal and tailglob)
14
#include <linux/module.h>
17
static const char *features="literal tailglob";
19
void* aamatch_alloc(enum entry_match_type type)
24
void aamatch_free(void *ptr)
28
const char *aamatch_features(void)
33
int aamatch_serialize(void *entry_extradata, struct aa_ext *e,
34
aamatch_serializecb cb)
39
unsigned int aamatch_match(const char *pathname, const char *entry_name,
40
enum entry_match_type type, void *entry_extradata)
44
ret = aamatch_match_common(pathname, entry_name, type);
49
EXPORT_SYMBOL_GPL(aamatch_alloc);
50
EXPORT_SYMBOL_GPL(aamatch_free);
51
EXPORT_SYMBOL_GPL(aamatch_features);
52
EXPORT_SYMBOL_GPL(aamatch_serialize);
53
EXPORT_SYMBOL_GPL(aamatch_match);
55
MODULE_DESCRIPTION("AppArmor match module (aamatch) [default]");
56
MODULE_AUTHOR("Tony Jones <tonyj@suse.de>");
57
MODULE_LICENSE("GPL");