Date: Tue, 06 Nov 2018 16:17:23 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Tijl Coosemans <tijl@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-head@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r340181 - in head/sys: amd64/linux32 compat/linux
| raw e-mail | index | archive | help
VGFyZ2V0ZWQgZm9yIDEyLjAtcmVsZWFzZT8KUmVsbm90ZXMgeWVzIChsaW51eDY0IHN1cHBvcnQg Zm9yIE5WaWRpYSBkcml2ZXIpPwoKLS0KU2VuZCBmcm9tIGEgbW9iaWxlIGRldmljZSwgcGxlYXNl IGZvcmdpdmUgYnJldml0eSBhbmQgbWlzc3BlbGxpbmdzLgpBbSAwNi4xMS4yMDE4IDI6NTEgbmFj aG0uIHNjaHJpZWIgVGlqbCBDb29zZW1hbnMgPHRpamxARnJlZUJTRC5vcmc+Ogo+Cj4gQXV0aG9y OiB0aWpsIAo+IERhdGU6IFR1ZSBOb3bCoCA2IDEzOjUxOjA4IDIwMTggCj4gTmV3IFJldmlzaW9u OiAzNDAxODEgCj4gVVJMOiBodHRwczovL3N2bndlYi5mcmVlYnNkLm9yZy9jaGFuZ2VzZXQvYmFz ZS8zNDAxODEgCj4KPiBMb2c6IAo+IMKgIE9uIGFtZDY0IGJvdGggTGludXggY29tcGF0IG1vZHVs ZXMsIGxpbnV4LmtvIGFuZCBsaW51eDY0LmtvLCBwcm92aWRlIAo+IMKgIGxpbnV4X2lvY3RsXyh1 bilyZWdpc3Rlcl9oYW5kbGVyIHRoYXQgYWxsb3dzIG90aGVyIGRyaXZlciBtb2R1bGVzIHRvIAo+ IMKgIHJlZ2lzdGVyIGlvY3RsIGhhbmRsZXJzLsKgIFRoZSBpb2N0bCBzeXNjYWxsIGltcGxlbWVu dGF0aW9uIGluIGVhY2ggTGludXggCj4gwqAgY29tcGF0IG1vZHVsZSBpdGVyYXRlcyBvdmVyIHRo ZSBsaXN0IG9mIGhhbmRsZXJzIGFuZCBmb3J3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