]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/macro.h
macro: use ascending order for capabilities
[mirror_lxc.git] / src / lxc / macro.h
index fe2ba66f441a48d9fc4993aea7b44cb3abe54ea9..a4d0d298f0a9e119e55a570639b6aae31d906fcb 100644 (file)
 #endif
 
 /* capabilities */
+#ifndef CAP_SETGID
+#define CAP_SETGID 6
+#endif
+
+#ifndef CAP_SETUID
+#define CAP_SETUID 7
+#endif
+
 #ifndef CAP_SYS_ADMIN
 #define CAP_SYS_ADMIN 21
 #endif
 #define CAP_MAC_ADMIN 33
 #endif
 
-#ifndef CAP_SETUID
-#define CAP_SETUID 7
-#endif
-
-#ifndef CAP_SETGID
-#define CAP_SETGID 6
-#endif
-
 /* prctl */
 #ifndef PR_CAPBSET_READ
 #define PR_CAPBSET_READ 23