)]}' { "commit": "0cf1ed9e522b7dbb416f080a5c8003de9b702bf4", "tree": "8fb4b3ffd426eb27f6a559f1536166187ff8d1ca", "parents": [ "ec83556a53fe16b65c452a104ea9d1e86a671852" ], "author": { "name": "David Anderson", "email": "dave@natulte.net", "time": "Tue Nov 20 21:29:04 2018 +0000" }, "committer": { "name": "Ian Lance Taylor", "email": "iant@golang.org", "time": "Wed Nov 21 00:28:34 2018 +0000" }, "message": "unix: add IoctlSetPointerInt\n\nIoctlSetPointerInt is necessary for interacting with the PPP kernel\ndriver, which wants it passed as a pointer to int, rather than the\nmore conventional int cast as a pointer.\n\nWe can technically do this already with\nIoctlSetInt(int(uintptr(unsafe.Pointer(\u0026foo)))), but that\u0027s just\nmasking the operation we\u0027re trying to execute in the first place,\nand relying on the internals of IoctlSetInt to do the right\ninverse transformation.\n\nChange-Id: I1e6a1dd6190c11f06c6f5393cd2cae453939878a\nGitHub-Last-Rev: a88f56073d04b02d9c076b112adaf99169a49513\nGitHub-Pull-Request: golang/sys#25\nReviewed-on: https://go-review.googlesource.com/c/150321\nRun-TryBot: Ian Lance Taylor \u003ciant@golang.org\u003e\nTryBot-Result: Gobot Gobot \u003cgobot@golang.org\u003e\nReviewed-by: Ian Lance Taylor \u003ciant@golang.org\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "96ff70dcfb1e22ebc9968c8a0b61dc4adc6df0fa", "old_mode": 33188, "old_path": "unix/syscall_linux.go", "new_id": "466b2576dfb7f02a4b74a6645c60252ffebc352f", "new_mode": 33188, "new_path": "unix/syscall_linux.go" } ] }