* for Linux kernel.
  */
 
-/* Currently all the CFS_CAP_* defines match CAP_* ones. */
-#define cfs_cap_pack(cap) (cap)
-#define cfs_cap_unpack(cap) (cap)
-
 void cfs_cap_raise(cfs_cap_t cap)
 {
        struct cred *cred;
        if ((cred = prepare_creds())) {
-               cap_raise(cred->cap_effective, cfs_cap_unpack(cap));
+               cap_raise(cred->cap_effective, cap);
                commit_creds(cred);
        }
 }
 {
        struct cred *cred;
        if ((cred = prepare_creds())) {
-               cap_lower(cred->cap_effective, cfs_cap_unpack(cap));
+               cap_lower(cred->cap_effective, cap);
                commit_creds(cred);
        }
 }
 
 int cfs_cap_raised(cfs_cap_t cap)
 {
-       return cap_raised(current_cap(), cfs_cap_unpack(cap));
+       return cap_raised(current_cap(), cap);
 }
 
 void cfs_kernel_cap_pack(kernel_cap_t kcap, cfs_cap_t *cap)
 {
 #if defined (_LINUX_CAPABILITY_VERSION) && _LINUX_CAPABILITY_VERSION == 0x19980330
-       *cap = cfs_cap_pack(kcap);
+       *cap = kcap;
 #elif defined (_LINUX_CAPABILITY_VERSION) && _LINUX_CAPABILITY_VERSION == 0x20071026
-       *cap = cfs_cap_pack(kcap[0]);
+       *cap = kcap[0];
 #elif defined(_KERNEL_CAPABILITY_VERSION) && _KERNEL_CAPABILITY_VERSION == 0x20080522
        /* XXX lost high byte */
-       *cap = cfs_cap_pack(kcap.cap[0]);
+       *cap = kcap.cap[0];
 #else
        #error "need correct _KERNEL_CAPABILITY_VERSION "
 #endif
 void cfs_kernel_cap_unpack(kernel_cap_t *kcap, cfs_cap_t cap)
 {
 #if defined (_LINUX_CAPABILITY_VERSION) && _LINUX_CAPABILITY_VERSION == 0x19980330
-       *kcap = cfs_cap_unpack(cap);
+       *kcap = cap;
 #elif defined (_LINUX_CAPABILITY_VERSION) && _LINUX_CAPABILITY_VERSION == 0x20071026
-       (*kcap)[0] = cfs_cap_unpack(cap);
+       (*kcap)[0] = cap;
 #elif defined(_KERNEL_CAPABILITY_VERSION) && _KERNEL_CAPABILITY_VERSION == 0x20080522
-       kcap->cap[0] = cfs_cap_unpack(cap);
+       kcap->cap[0] = cap;
 #else
        #error "need correct _KERNEL_CAPABILITY_VERSION "
 #endif
 
 int cfs_capable(cfs_cap_t cap)
 {
-       return capable(cfs_cap_unpack(cap));
+       return capable(cap);
 }
 
 static int cfs_access_process_vm(struct task_struct *tsk, unsigned long addr,