Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 1998 11:32:01 -0400 (EDT)
From:      Brian Feldman <green@feldman.dyn.ml.org>
To:        freebsd-multimedia@FreeBSD.ORG
Cc:        freebsd-emulation@FreeBSD.ORG
Subject:   full Linux mremap patches (commit these!)
Message-ID:  <Pine.BSF.3.96.980626112649.6986A-200000@localhost>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-821695567-898875121=:6986
Content-Type: TEXT/PLAIN; charset=US-ASCII

These work great, and should be committed (whoever made the original
patch, step forward, good job).

my->name 	= 	"Brian Feldman";
my->email	=	"brianfeldman@hotmail.com";
my->info 	= 	finger("green@feldman.dyn.ml.org");

--0-821695567-898875121=:6986
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="linux_mremap.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.BSF.3.96.980626113201.6986B@localhost>
Content-Description: Linux mremap patches for -CURRENT

ZGlmZiAtdSBzcmMvc3lzL2kzODYvbGludXgvbGludXhfbWlzYy5jIHNyYy9z
eXMvaTM4Ni9saW51eC5uZXcvbGludXhfbWlzYy5jDQotLS0gc3JjL3N5cy9p
Mzg2L2xpbnV4L2xpbnV4X21pc2MuYwlTdW4gTWF5IDE3IDA3OjUyOjI2IDE5
OTgNCisrKyBzcmMvc3lzL2kzODYvbGludXgubmV3L2xpbnV4X21pc2MuYwlG
cmkgSnVuIDI2IDExOjI1OjI3IDE5OTgNCkBAIC02MTUsNiArNjE1LDM3IEBA
DQogICAgIHJldHVybiBtbWFwKHAsICZic2RfYXJncyk7DQogfQ0KIA0KK2lu
dCAgICAgDQorbGludXhfbXJlbWFwKHN0cnVjdCBwcm9jICpwLCBzdHJ1Y3Qg
bGludXhfbXJlbWFwX2FyZ3MgKmFyZ3MpDQorew0KKyAgICAgICAgc3RydWN0
IG11bm1hcF9hcmdzIC8qIHsNCisgICAgICAgICAgICAgICAgdm9pZCAqYWRk
cjsNCisgICAgICAgICAgICAgICAgc2l6ZV90IGxlbjsNCisgICAgICAgIH0g
Ki8gYnNkX2FyZ3M7IA0KKyAgICAgICAgaW50IGVycm9yID0gMDsNCisgDQor
I2lmZGVmIERFQlVHDQorICAgICAgICBwcmludGYoIkxpbnV4LWVtdWwoJWQp
OiBtcmVtYXAoJTA4eCwgJTA4eCwgJTA4eCwgJTA4eClcbiIsDQorICAgICAg
ICBwLT5wX3BpZCwgYXJncy0+YWRkciwgYXJncy0+b2xkX2xlbiwgYXJncy0+
bmV3X2xlbiwgYXJncy0+ZmxhZ3MpOw0KKyNlbmRpZg0KKyAgICAgICAgYXJn
cy0+bmV3X2xlbiA9IHJvdW5kX3BhZ2UoYXJncy0+bmV3X2xlbik7DQorICAg
ICAgICBhcmdzLT5vbGRfbGVuID0gcm91bmRfcGFnZShhcmdzLT5vbGRfbGVu
KTsNCisNCisgICAgICAgIGlmIChhcmdzLT5uZXdfbGVuID4gYXJncy0+b2xk
X2xlbikgew0KKyAgICAgICAgICAgICAgICBwLT5wX3JldHZhbFswXSA9IDA7
DQorICAgICAgICAgICAgICAgIHJldHVybiBFTk9NRU07DQorICAgICAgICB9
DQorDQorICAgICAgICBpZiAoYXJncy0+bmV3X2xlbiA8IGFyZ3MtPm9sZF9s
ZW4pIHsNCisgICAgICAgICAgICAgICAgYnNkX2FyZ3MuYWRkciA9IGFyZ3Mt
PmFkZHIgKyBhcmdzLT5uZXdfbGVuOw0KKyAgICAgICAgICAgICAgICBic2Rf
YXJncy5sZW4gPSBhcmdzLT5vbGRfbGVuIC0gYXJncy0+bmV3X2xlbjsNCisg
ICAgICAgICAgICAgICAgZXJyb3IgPSBtdW5tYXAocCwgJmJzZF9hcmdzKTsN
CisgICAgICAgIH0NCisNCisgICAgICAgIHAtPnBfcmV0dmFsWzBdID0gZXJy
b3IgPyAwIDogKGludClhcmdzLT5hZGRyOw0KKyAgICAgICAgcmV0dXJ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YvbGludXgvc3lzY2FsbHMubWFzdGVyCU1vbiBKdW4gIDggMjM6Mjg6MTQg
MTk5OA0KKysrIHNyYy9zeXMvaTM4Ni9saW51eC5uZXcvc3lzY2FsbHMubWFz
dGVyCUZyaSBKdW4gMjYgMTE6MjI6MTEgMTk5OA0KQEAgLTIzMyw3ICsyMzMs
OCBAQA0KIDE2MglOT1BST1RPCVBPU0lYCXsgaW50IG5hbm9zbGVlcChjb25z
dCBzdHJ1Y3QgdGltZXNwZWMgKnJxdHAsIFwNCiAJCQkgICAgc3RydWN0IHRp
bWVzcGVjICpybXRwKTsgfQ0KIA0KLTE2MwlVTklNUEwJTElOVVgJbXJlbWFw
DQorMTYzCVNURAlMSU5VWAl7IGludCBsaW51eF9tcmVtYXAoY2FkZHJfdCBh
ZGRyLCBpbnQgb2xkX2xlbiwgXA0KKwkJCSAgICBpbnQgbmV3X2xlbiwgaW50
IGZsYWdzKTsgfQ0KIDE2NAlVTklNUEwJTElOVVgJc2V0cmVzdWlkDQogMTY1
CVVOSU1QTAlMSU5VWAlnZXRyZXN1aWQNCiAxNjYJVU5JTVBMCUxJTlVYCW5l
d192bTg2DQo=
--0-821695567-898875121=:6986--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980626112649.6986A-200000>