Difference between revisions of "Userns"

From CRIU
Jump to navigation Jump to search
(Created page with " case SO_SNDBUFFORCE: if (!capable(CAP_NET_ADMIN)) { ret = -EPERM; break; } ...")
(No difference)

Revision as of 10:03, 29 July 2014

       case SO_SNDBUFFORCE:
               if (!capable(CAP_NET_ADMIN)) {
                       ret = -EPERM;
                       break;
               }
               goto set_sndbuf;
@@ -1856,10 +1851,6 @@ static struct dentry *proc_map_files_lookup(struct inode 
       int result;
       struct mm_struct *mm;

       result = -EPERM;
       if (!capable(CAP_SYS_ADMIN))
               goto out;