===============================================
* Improvements
- * Updated lists of ARPHRD_*, BPF_*, ETH_P_*, MADV_*, SO_*, SOL_* and TCP_*
- constants.
+ * Updated lists of ARPHRD_*, BPF_*, ETH_P_*, MADV_*, MFD_*, SO_*, SOL_*,
+ and TCP_* constants.
Noteworthy changes in release 4.19 (2017-09-05)
===============================================
main(void)
{
static const char text[] = "strace";
- int rc = syscall(__NR_memfd_create, text, 7);
+ int rc = syscall(__NR_memfd_create, text, 0xf);
- printf("memfd_create(\"%s\", %s) = %d %s (%m)\n",
- text, "MFD_CLOEXEC|MFD_ALLOW_SEALING|0x4", rc, errno2name());
+ printf("memfd_create(\"%s\", %s) = %s\n",
+ text, "MFD_CLOEXEC|MFD_ALLOW_SEALING|MFD_HUGETLB|0x8",
+ sprintrc(rc));
puts("+++ exited with 0 +++");
return 0;