plan9fox/sys
cinap_lenrek 316d8ad76b pc64: fix segattach
the comment about Physseg.size being in pages is wrong,
change type to uintptr and correct the comment.

change the length parameter of segattach() and isoverlap()
to uintptr as well. segments can grow over 4GB in pc64 now
and globalsegattach() in devsegment calculates len argument
of isoverlap() by s->top - s->bot. note that the syscall
still takes 32bit ulong argument for the length!

check for integer overflow in segattach(), make sure segment
goes not beyond USTKTOP.

change PTEMAPMEM constant to uvlong as it is used to calculate
SEGMAXSIZE.
2014-03-04 22:37:15 +01:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: If you start your own successfull project, you also can develop your own set of reasons for doing any of a variety of operational things at any point in time. 2014-03-03 00:26:35 -05:00
include factotum/authsrv: fix padding for mschap on amd64, use constants for structure sizes 2014-02-15 19:57:13 +01:00
lib acid: fix errstr syscall data offset for truss library 2014-02-25 09:31:58 -08:00
man games(1), nintendo(1): re-organize nintendo emulators into separate man page; add HISTORY 2014-03-03 01:06:40 -05:00
src pc64: fix segattach 2014-03-04 22:37:15 +01:00