)]}'
{
  "commit": "275aaa68334c45f616c6576f20201e9890c5da18",
  "tree": "a00b6a37ccdc823567a0a1ae414b7275c33167b6",
  "parents": [
    "326b1ffc136d944d403a2b44dc3abace2a4e10fd"
  ],
  "author": {
    "name": "Arnd Bergmann",
    "email": "arnd@arndb.de",
    "time": "Mon Feb 04 14:28:52 2013 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Feb 05 20:38:49 2013 +1100"
  },
  "message": "samples/seccomp: be less stupid about cross compiling\n\nThe seccomp filters are currently built for the build host, not for the\nmachine that they are going to run on, but they are also built for with\nthe -m32 flag if the kernel is built for a 32 bit machine, both of which\nseems rather odd.\n\nIt broke allyesconfig on my machine, which is x86-64, but building for\n32 bit ARM, with this error message:\n\n  In file included from /usr/include/stdio.h:28:0,\n                   from samples/seccomp/bpf-fancy.c:15:\n  /usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory\n\nbecause there are no 32 bit libc headers installed on this machine.  We\nshould really be building all the samples for the target machine rather\nthan the build host, but since the infrastructure for that appears to be\nmissing right now, let\u0027s be a little bit smarter and not pass the \u0027-m32\u0027\nflag to the HOSTCC when cross- compiling.\n\nSigned-off-by: Arnd Bergmann \u003carnd@arndb.de\u003e\nAcked-by: Kees Cook \u003ckeescook@chromium.org\u003e\nCc: Heiko Carstens \u003cheiko.carstens@de.ibm.com\u003e\nCc: James Morris \u003cjames.l.morris@oracle.com\u003e\nAcked-by: Will Drewry \u003cwad@chromium.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bbbd276659ba5edad0e01b915d03639c7980803f",
      "old_mode": 33188,
      "old_path": "samples/seccomp/Makefile",
      "new_id": "7203e66dcd6f9e035a0710147ec179bab9acabb9",
      "new_mode": 33188,
      "new_path": "samples/seccomp/Makefile"
    }
  ]
}
