| Commit message (Collapse) | Author | Age |
| | |
|
| | |
|
| | |
|
| |
|
|
| |
librust.a contains libc.a as well
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Previously, if the create() call would incorrectly kill the pfs process,
the test would still succeed as exit codes were not verified, and there
were no other way of identifying successful completion.
|
| |
|
|
|
|
|
|
| |
GCC 10 uses -fno-common by default, which makes multiple definitions of the same symbol in multiple
object files an error. This was used in the userspace test library, and broke with GCC10. Therefore,
the relevant symbol is now marked as "weak" to solve the issue and to clarify the intent.
Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
|
| |
|
|
| |
Signed-off-by: Filip Strömbäck <fstromback@gmail.com>
|
| |
|
|
| |
Signed-off-by: Filip Strömbäck <fstromback@gmail.com>
|
| |
|
|
| |
Signed-off-by: Filip Strömbäck <fstromback@gmail.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
It seems like the linker now splits sections in pieces that may be smaller than a page, causing the
loader to try to load the same page multiple times and fail. Now, offsets are handled properly, and
loading of the new kind of files work properly. If the first part of the page is read only, and the
second is read-write, then the entire page will not be read-write, which could cause issues. At the
moment, it seems this only happens for the text section, which is read only anyway, so it should not
be a big issue in the near future at least.
Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
|
| |
|
|
| |
Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
|
| |
|
|
| |
Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
|
| |\
| |
| |
| |
| | |
Fixed typo in standalone lab3, ptree -> pstree
See merge request klaar36/pintos!12
|
| |/ |
|
| |\
| |
| |
| |
| | |
Added 'close' test for better testing of syscall parameter validation.
See merge request klaar36/pintos!11
|
| |/
|
|
| |
Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
|
| |\ |
|
| | |
| |
| |
| | |
Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
|
| | |\
| | |
| | |
| | |
| | | |
Fixed compilation issues on the latest GCC and QEMU.
See merge request !10
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
|
| | |\ \
| | |/
| |/|
| | |
| | | |
Fixed compilation error of sc-bad-write in GCC 7.4.
See merge request !9
|
| | |/
| |
| |
| | |
Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
|
| | |\
| | |
| | |
| | |
| | | |
make pintos-script perl 5.26 compatible
See merge request !8
|
| | |/ |
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixed sc-bad-write once again...
It seems that the BSS segment got larger than one page for some reason,
which caused the test to be useless as the boundary to nonmapped memory
were not located where the test thought. Now, it uses some linker script
magic to define the symbol _bss_end, the address of which is after the
end of the bss segment. This seems to be a fool-proof way of detecting
where the real boundary to unmapped memory is.
Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
See merge request !7
|
| |/
|
|
|
|
|
|
|
|
|
| |
It seems that the BSS segment got larger than one page for some reason,
which caused the test to be useless as the boundary to nonmapped memory
were not located where the test thought. Now, it uses some linker script
magic to define the symbol _bss_end, the address of which is after the
end of the bss segment. This seems to be a fool-proof way of detecting
where the real boundary to unmapped memory is.
Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
|
| |\
| |
| |
| |
| |
| |
| | |
Fixed sc-bad-write test to be more precise.
Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
See merge request !6
|
| |/
|
|
| |
Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
|
| |\
| |
| |
| |
| |
| |
| | |
Fix up exec-corrupt to accept exit(-1) anywhere, make sc-bad-write reserve space…
… for 3 parameters instead of 4
See merge request !5
|
| |/
|
|
| |
space for 3 parameters instead of 4
|