-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 128763 b: refs/heads/master c: 12fa8ec h: refs/heads/master i: 128761: 8cdd659 128759: a9424ba v: v3
- Loading branch information
Jeff Mahoney
authored and
Chris Mason
committed
Sep 25, 2008
1 parent
0a0252a
commit 5d5d72e
Showing
3 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: bb8885cc0aa6b1606143d92c70762b16026016a5 | ||
refs/heads/master: 12fa8ec64f445aa932ba154053fe95432f30f2c6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifndef _COMPAT_H_ | ||
#define _COMPAT_H_ | ||
|
||
|
||
/* | ||
* Even if AppArmor isn't enabled, it still has different prototypes. | ||
* Add more distro/version pairs here to declare which has AppArmor applied. | ||
*/ | ||
#if defined(CONFIG_SUSE_KERNEL) | ||
# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22) | ||
# define REMOVE_SUID_PATH 1 | ||
# endif | ||
#endif | ||
|
||
/* | ||
* catch any other distros that have patched in apparmor. This isn't | ||
* 100% reliable because it won't catch people that hand compile their | ||
* own distro kernels without apparmor compiled in. But, it is better | ||
* than nothing. | ||
*/ | ||
#ifdef CONFIG_SECURITY_APPARMOR | ||
# define REMOVE_SUID_PATH 1 | ||
#endif | ||
|
||
#endif /* _COMPAT_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters