summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/openvz-sources/files/openvz-sources-2.6.27.4.1-CAP_VE.patch')
-rw-r--r--sys-kernel/openvz-sources/files/openvz-sources-2.6.27.4.1-CAP_VE.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/sys-kernel/openvz-sources/files/openvz-sources-2.6.27.4.1-CAP_VE.patch b/sys-kernel/openvz-sources/files/openvz-sources-2.6.27.4.1-CAP_VE.patch
deleted file mode 100644
index 09f5f0b..0000000
--- a/sys-kernel/openvz-sources/files/openvz-sources-2.6.27.4.1-CAP_VE.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-X-Git-Url: http://git.openvz.org/?p=linux-2.6.27-openvz;a=blobdiff_plain;f=security%2Fcommoncap.c;fp=security%2Fcommoncap.c;h=59b6841de151e5e704a58ee9d92cfd583b2ad2ce;hp=880d02f0368bb51badc500d94b5960452092ab3d;hb=193ba36c82f6097e910a47f12cce85833fae9d57;hpb=a8e6d74c12874f97232c8dba8b2b4521cbdb3230
-
-diff --git a/security/commoncap.c b/security/commoncap.c
-index 880d02f..59b6841 100644
---- a/security/commoncap.c
-+++ b/security/commoncap.c
-@@ -700,8 +700,9 @@ void cap_task_reparent_to_init (struct task_struct *p)
-
- int cap_syslog (int type)
- {
-- if ((type != 3 && type != 10) && !capable(CAP_VE_SYS_ADMIN))
-- return -EPERM;
-+ if ((type != 3 && type != 10) &&
-+ !capable(CAP_VE_SYS_ADMIN) && !capable(CAP_SYS_ADMIN))
-+ return -EPERM;
- return 0;
- }
-