2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/security/apparmor
Randy Dunlap 06c22dadc6 apparmor: depends on NET
SECURITY_APPARMOR should depend on NET since AUDIT needs
(depends on) NET.

Fixes 70-80 errors that occur when CONFIG_NET is not enabled,
but APPARMOR selects AUDIT without qualification.  E.g.:

audit.c:(.text+0x33361): undefined reference to `netlink_unicast'
(.text+0x333df): undefined reference to `netlink_unicast'
audit.c:(.text+0x3341d): undefined reference to `skb_queue_tail'
audit.c:(.text+0x33424): undefined reference to `kfree_skb'
audit.c:(.text+0x334cb): undefined reference to `kfree_skb'
audit.c:(.text+0x33597): undefined reference to `skb_put'
audit.c:(.text+0x3369b): undefined reference to `__alloc_skb'
audit.c:(.text+0x336d7): undefined reference to `kfree_skb'
(.text+0x3374c): undefined reference to `__alloc_skb'
auditfilter.c:(.text+0x35305): undefined reference to `skb_queue_tail'
lsm_audit.c:(.text+0x2873): undefined reference to `init_net'
lsm_audit.c:(.text+0x2878): undefined reference to `dev_get_by_index'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <jmorris@namei.org>
2010-08-05 07:36:51 -04:00
..
include AppArmor: core policy routines 2010-08-02 15:38:37 +10:00
.gitignore AppArmor: Enable configuring and building of the AppArmor security module 2010-08-02 15:38:39 +10:00
apparmorfs.c AppArmor: userspace interfaces 2010-08-02 15:35:13 +10:00
audit.c AppArmor: basic auditing infrastructure. 2010-08-02 15:35:11 +10:00
capability.c AppArmor: mediation of non file objects 2010-08-02 15:38:35 +10:00
context.c AppArmor: contexts used in attaching policy to system objects 2010-08-02 15:35:12 +10:00
domain.c AppArmor: fix build warnings for non-const use of get_task_cred 2010-08-02 15:49:00 +10:00
file.c AppArmor: file enforcement routines 2010-08-02 15:35:14 +10:00
ipc.c AppArmor: fix build warnings for non-const use of get_task_cred 2010-08-02 15:49:00 +10:00
Kconfig apparmor: depends on NET 2010-08-05 07:36:51 -04:00
lib.c AppArmor: misc. base functions and defines 2010-08-02 15:35:11 +10:00
lsm.c AppArmor: update path_truncate method to latest version 2010-08-02 15:38:37 +10:00
Makefile AppArmor: Enable configuring and building of the AppArmor security module 2010-08-02 15:38:39 +10:00
match.c AppArmor: dfa match engine 2010-08-02 15:35:13 +10:00
path.c AppArmor: misc. base functions and defines 2010-08-02 15:35:11 +10:00
policy_unpack.c AppArmor: policy routines for loading and unpacking policy 2010-08-02 15:38:36 +10:00
policy.c AppArmor: core policy routines 2010-08-02 15:38:37 +10:00
procattr.c AppArmor: userspace interfaces 2010-08-02 15:35:13 +10:00
resource.c AppArmor: mediation of non file objects 2010-08-02 15:38:35 +10:00
sid.c AppArmor: core policy routines 2010-08-02 15:38:37 +10:00