This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
#include <endian.h> | |
#include <stdlib.h> | |
unsigned __int128 ntohlll(unsigned __int128 n) { | |
struct pieces { | |
uint64_t a; | |
uint64_t b; | |
} *p = (struct pieces*)&n; | |
return ((unsigned __int128)(be64toh(p->b))) << 64 | be64toh(p->a); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r -u -N -x lib -x dev fresh/etc/group mnt/etc/group | |
--- fresh/etc/group 2011-04-14 11:36:18.000000000 -0500 | |
+++ mnt/etc/group 2012-04-21 00:03:53.000000000 -0500 | |
@@ -39,3 +39,4 @@ | |
nogroup:x:65534: | |
libuuid:x:101: | |
crontab:x:102: | |
+uml:x:1001:uml | |
diff -r -u -N -x lib -x dev fresh/etc/gshadow mnt/etc/gshadow | |
--- fresh/etc/gshadow 2011-04-14 11:36:18.000000000 -0500 |