[OpenAFS] pag's with new 2.6 mechanism
Jason McCormick
jasonmc@cert.org
Tue, 11 Jan 2005 11:11:28 -0500
--==========98A1EE8AE6EFF35AFADE==========
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--On Monday, January 10, 2005 11:32:05 PM -0600 Ryan Underwood
<nemesis-lists@icequake.net> wrote:
>> export sys_call_table or wait for a better patch.
>
> Where is the issue? Who is working in this area?
Until the final version is completed, you can apply the attached patches
to support exporting sys_call_table[] and having autoconf find it. You can
apply the linux-2.6.8-i386-export-syscalltable.patch to your linux-2.6.x
source tree and rebuild your kernel. This provides sys_call_table[]
exporting. Then you can apply 26syscall.patch to your OpenAFS build to
have autoconf assume you have sys_call_table[] exported. You will need to
run 'regen.sh' to rerun autoconf before you can start building.
Note: These patches seem to work for me, but YMMV. I can't guarantee this
won't bring your box down, corrupt data, etc..
-- Jason
--==========98A1EE8AE6EFF35AFADE==========
Content-Type: application/octet-stream;
name="linux-2.6.8-i386-export-syscalltable.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="linux-2.6.8-i386-export-syscalltable.patch"; size=553
LS0tIGFyY2gvaTM4Ni9rZXJuZWwvaTM4Nl9rc3ltcy5jLm9yaWcJMjAwNC0xMC0xMiAxNToxMTow
OC4wNTcxMDAyMzcgLTA0MDAKKysrIGFyY2gvaTM4Ni9rZXJuZWwvaTM4Nl9rc3ltcy5jCTIwMDQt
MTAtMTIgMTU6MTA6NDEuOTEyMDUwODY2IC0wNDAwCkBAIC0xOTQsNiArMTk0LDEyIEBACiBFWFBP
UlRfU1lNQk9MKGttYXBfYXRvbWljX3RvX3BhZ2UpOwogI2VuZGlmCiAKKy8vIEV4cG9ydCBzeXNf
Y2FsbF90YWJsZSBmb3IgQUZTLiAgVGhpcyBwYXRjaCBpcyBoZXJlCisvLyBpbnN0ZWFkIG9mIGF0
IHRoZSBlbmQgb2YgdGhlIGZpbGUgYmVjYXVzZSBvdGhlcgorLy8gcGF0Y2hlcyB0cnkgdG8gYXBw
bHkgYXQgdGhlIGVuZCBvZiB0aGlzIGZpbGUuCitleHRlcm4gdm9pZCAqc3lzX2NhbGxfdGFibGVb
XTsKK0VYUE9SVF9TWU1CT0woc3lzX2NhbGxfdGFibGUpOworCiAjaWYgZGVmaW5lZChDT05GSUdf
WDg2X1NQRUVEU1RFUF9TTUkpIHx8IGRlZmluZWQoQ09ORklHX1g4Nl9TUEVFRFNURVBfU01JX01P
RFVMRSkKIEVYUE9SVF9TWU1CT0woaXN0X2luZm8pOwogI2VuZGlmCg==
--==========98A1EE8AE6EFF35AFADE==========
Content-Type: application/octet-stream; name="26syscall.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="26syscall.patch"; size=898
LS0tIGFjaW5jbHVkZS5tNC5vcmlnCTIwMDQtMTAtMTggMTU6MDM6NDcuNzcyODI1MDQ3IC0wNDAw
CisrKyBhY2luY2x1ZGUubTQJMjAwNC0xMC0xOCAxNToxMzowNS4xNTkyODQ4MTggLTA0MDAKQEAg
LTE5Niw3ICsxOTYsMTIgQEAKIAkJIExJTlVYX1dISUNIX01PRFVMRVMKICAgICAgICAgICAgICAg
ICAgaWYgdGVzdCAieCRhY19jdl9saW51eF9jb25maWdfbW9kdmVyc2lvbnMiID0gInhubyI7IHRo
ZW4KICAgICAgICAgICAgICAgICAgICBBQ19NU0dfV0FSTihbQ2Fubm90IGRldGVybWluZSBzeXNf
Y2FsbF90YWJsZSBzdGF0dXMuIGFzc3VtaW5nIGl0IGlzbid0IGV4cG9ydGVkXSkKLSAgICAgICAg
ICAgICAgICAgICBhY19jdl9saW51eF9leHBvcnRzX3N5c19jYWxsX3RhYmxlPW5vCisgICAgICAg
ICAgICAgICAgICAgaWYgdGVzdCAieGB1bmFtZSAtciB8IHNlZCAtZSAicy9eXCgyXC42XClcLi4q
JC9cMS9nImAiID0gIngyLjYiOyB0aGVuCisgICAgICAgICAgICAgICAgICAgICBBQ19NU0dfV0FS
TihbRGV0ZWN0aW5nIExpbnV4IDIuNiBhbmQgYXNzdW1pbmcgYW4gaGFuZC1wYXRjaGVkIGtlcm5l
bCBwcm92aWRlcyBzeXNfY2FsbF90YWJsZV0pCisgICAgICAgICAgICAgICAgICAgICBhY19jdl9s
aW51eF9leHBvcnRzX3N5c19jYWxsX3RhYmxlPXllcworICAgICAgICAgICAgICAgICAgIGVsc2UK
KyAgICAgICAgICAgICAgICAgICAgIGFjX2N2X2xpbnV4X2V4cG9ydHNfc3lzX2NhbGxfdGFibGU9
bm8KKyAgICAgICAgICAgICAgICAgICBmaQogCQkgICBpZiB0ZXN0IC1mICIkTElOVVhfS0VSTkVM
X1BBVEgvaW5jbHVkZS9hc20vaWEzMl91bmlzdGQuaCI7IHRoZW4KIAkJICAgICBhY19jdl9saW51
eF9leHBvcnRzX2lhMzJfc3lzX2NhbGxfdGFibGU9eWVzCiAJCSAgIGZpCg==
--==========98A1EE8AE6EFF35AFADE==========--