use vc_get_insecurebcaps() instead of vc_get_insecurecaps()
[util-vserver.git] / util-vserver / src / rpm-fake.c
index 9160d39..3f9d051 100644 (file)
@@ -195,9 +195,9 @@ setupContext(xid_t xid, char const **xid_str)
       l = utilvserver_fmt_uint(buf+sizeof("rpm-fake.so #")-1, getppid());
       Evc_set_vhi_name(rc, vcVHI_CONTEXT, buf, sizeof("rpm-fake.so #")+l-1);
 
-      caps.ccaps = ~0ull;
+      caps.ccaps =  0ull;
       caps.cmask = ~0ull;
-      caps.bcaps = ~vc_get_insecurecaps();
+      caps.bcaps = ~vc_get_insecurebcaps();
       caps.bmask = ~0ull;
       Evc_set_ccaps(rc, &caps);