Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from cs-pub-ro:main #350

Open
wants to merge 155 commits into
base: main
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 10, 2024

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

elena19m and others added 30 commits October 9, 2023 13:34
Current link in lab-setup.md points to
https://github.com/open-education-hub/operating-systems.
This commit changes the link to
https://github.com/cs-pub-ro/operating-systems.

Signed-off-by: Elena Mihailescu <[email protected]>
Add grading rules for the Operating Systems course.

Signed-off-by: Alex Apostolescu <[email protected]>
Signed-off-by: Razvan Deaconescu <[email protected]>
Word should be past participle, not syscall name.

Signed-off-by: PetruCristian <[email protected]>
Update `README.md` with current structure of directory (e.g. use `src/`
instead of `libc/`). Detail use of `grade.sh` and `make lint`.

Signed-off-by: Razvan Deaconescu <[email protected]>
The `grade.sh` script computes the final project grade, from two
components: checker output and style checking.

Currently, checker output provides a maximum of 90 points and style
checking an output of maximum 10 points, for a total maximum of 100
points.

Script it to be symlinked to the `tests/` directory of each project.
It invokes the `check` rule and the `lint` rule in the tests Makefile,
then proceeds to compute the summary result.

Signed-off-by: Razvan Deaconescu <[email protected]>
Qemu seems to be the most suitable choice for running the operating-systems
VM on macOS (at least on M1 systems).
Add instructions and scripts for running the VM on macOS.

Signed-off-by: Razvan Virtan <[email protected]>
Missing -fno-builtin flag from Makefile caused the compiler to substitute
str* calls from
content/chapters/software-stack/lab/support/common-functions/main_string
with builin functions, instead of use custom implementations from
content/chapters/software-stack/lab/support/common-functions/string.c.

Signed-off-by: Liza Babu <[email protected]>
Rewrote part of a sentence to help ensure clarity.

Signed-off-by: Dimitrie Valu <[email protected]>
Changed the wrong value of the variable "a" in the explained comment
from "7" to "42".
Signed-off-by: Andrei-Valerian Andreescu <[email protected]>
When using `mtrace`, the program needs to be loaded with the malloc
debugging library. Use `LD_PRELOAD` for that. This may not be required
for certain systems. Also, the file path used for `LD_PRELOAD` may be
required to be updated, depending on the Linux distribution used.

Signed-off-by: Razvan Deaconescu <[email protected]>
Remove empty sections from the arena.

Signed-off-by: Alex Apostolescu <[email protected]>
The URL was `http://open-education-hub.github.io/...`. This was incorrect
for forked repos as it referred to the original owner: OEH. In addition,
it was using the `http` scheme instead of `https`. This was less of an
issue because the `http` endpoint redirects to `https`.

This commit fixes both of the aforementioned problems by dynamically
obtaining the owner uwing `${{ github.repository_owner }}` and by using
`https` instead of `http`.

Signed-off-by: Teodor Dutu <[email protected]>
Add arm skeleton from basic-syscall exercise

Signed-off-by: Andrei Lipan <[email protected]>
Update `README.md` with details on using `grade.sh` and `make lint`. Use
`run_tests.py` instead of `run-tests.py` in `README.md`.

Signed-off-by: Razvan Deaconescu <[email protected]>
Use `run_tests.py` instead of `run-tests.py` in `tests/Makefile`.

Signed-off-by: Razvan Deaconescu <[email protected]>
`out/` directory is not longer used by tests.

Signed-off-by: Razvan Deaconescu <[email protected]>
Use correct and complete targets for `lint` target in `tests/Makefile`.

Signed-off-by: Razvan Deaconescu <[email protected]>
Wrong path (it is a folder from the git repository)

Signed-off-by: D9nni <[email protected]>
Add vscode script for running and debugging the assignment's tests.
Use python3 instead of python in Makefile and README.md.

Signed-off-by: Alex Apostolescu <[email protected]>
Do not test block expansion in malloc=split-one-block.

Signed-off-by: Alex Apostolescu <[email protected]>
Do not test block expansion in realloc-split-one-block.

Signed-off-by: Alex Apostolescu <[email protected]>
Add resources for the Operating Systems course.

Signed-off-by: Stefan Jumarea <[email protected]>
A challenge to exercise working with mmap().

Signed-off-by: Razvan Deaconescu <[email protected]>
A challenge to exercise working with mmap() and memory copying.

Signed-off-by: Razvan Deaconescu <[email protected]>
A challenge to exercise mprotect() and an intro in SIGSEGV handling.

Signed-off-by: Razvan Deaconescu <[email protected]>
Fix: "assignement" -> "assignment"

Signed-off-by: Razvan Deaconescu <[email protected]>
Fix access_counter.c typos

Signed-off-by: Popa Ioan Alexandru <[email protected]>
The old link to the linux `checkpatch.pl` was broken. Fix it by adding
`github.com` to the url.

Signed-off-by: Stefan Jumarea <[email protected]>
GCC 9.3 doesn't link against libpthread by default, so setting LDLIBS
accordingly is required.

Signed-off-by: Razvan Miclius <[email protected]>
Catalin-Ripanu and others added 30 commits November 5, 2024 22:40
Changed the download link of the .qcow2 image to point to one
built on x86_64 architecture.

Signed-off-by: Catalin-Ripanu <[email protected]>
Update text for the Compute chapter
labs by fixing typos,broken links,
task order etc.

Signed-off-by: Gabriel Pitic <[email protected]>
The task requires knowledge of `fork()` and `execve()`, the latter being
taught in lab 7.

Signed-off-by: Teodor Dutu <[email protected]>
Add checkers for lab 7 tasks.

Signed-off-by: Laura Ruse <[email protected]>
Add parallel firewall assignment for the compute chapter.

The goal is to introduce students to parallel programming
with a single producer multiple consumer problem that uses
a thread-safe ring buffer to transfer data between threads.

Signed-off-by: Andrei Stan <[email protected]>
Signed-off-by: Anton-Fabian Patras <[email protected]>
- Move shared memory task to lab 8 because it requires knowledge of
  semaphores.
- Move Apache 2 simulator task to the end of lab 7 because interacting
  with docker might have confused students and delayed the following
  tasks.

Signed-off-by: Teodor Dutu <[email protected]>
Specify that students need to run `make run` to start the container and
that `strace` needs to be run inside that container.

Signed-off-by: Teodor Dutu <[email protected]>
Add checkers for laboratory 8 tasks.

Signed-off-by: NickZaharia308 <[email protected]>
Tasks and guides are stored in tasks/<task>/README.md, but are
referenced as <task.md> for simplicity.
This commit accounts for this when solving links.

Signed-off-by: Alex Apostolescu <[email protected]>
Previously, only links from labs were rerouted.
This commit updates the links from all file types, namely: guides,
tasks, questions, reading, and media.

Signed-off-by: Alex Apostolescu <[email protected]>
Questons are media files are placed in directories on their own, on the
same level.
This commit accounts for this when generating the .view files, and
prepends '../' to media links in question files.

Signed-off-by: Alex Apostolescu <[email protected]>
Using greedy regexes collapses consecutive links when solving them e.g.
[a](b) [c](d) gets collapsed to [a](d).
This commits prevents this using non-greedy regexes.

Signed-off-by: Alex Apostolescu <[email protected]>
Show links that do not match expected patterns after solving references.

Signed-off-by: Alex Apostolescu <[email protected]>
This commit restructures the IO chapter according to OpenEdu methodology.
This comprises of:
  - refactoring and changing the order of chapters
  - generating support files from solution
  - breaking arena into smaller sections
  - fixing Makefiles from tasks to be self-contained

Signed-off-by: Mihnea Firoiu <[email protected]>
Signed-off-by: Alex Apostolescu <[email protected]>
The makefile for the `my-cat` task now uses the correct paths
`solution/` and `support/` to generate the support code.

Signed-off-by: Teodor Dutu <[email protected]>
Waiting for further instructions in order to continue. Merged Makefile.

Signed-off-by: robertpaulp <[email protected]>
Pending to get a response

Signed-off-by: Viktor09 <[email protected]>
As per `read()` and `write()` syscall wrappers documentation,
the return value of a successful operation is the count of bytes
read/written that could be less than the length given as param.

Signed-off-by: Andrei Adrian Ragman <[email protected]>
Correct the name of wrapper from `ftstat()` to `fstat()`.

Signed-off-by: Andrei Adrian Ragman <[email protected]>
This commit restructures the Application Interaction chapter according
to OpenEdu methodology.

Signed-off-by: Iacobai Cosmin-Andrei <[email protected]>
Done solving the issue 134 :
chapters/data/memory-security/drills/tasks: Add solutions and checkers #134
Added the generate_skels.py infrastructure to generate the skeletons
Added checkers for the tasks which needed one
Updated the README.md for every task with useful information on how to use:
-`make skels` command
-the checker
Added solution
Updated generate_skels.py to add support for Makefile-uncommenting lines.

Fixes #134

Signed-off-by: Vica Teodor Andrei <[email protected]>
Use typos to find misspelled words since it does not require extensive
wordlists and it is easier to configurate. The trade-off is that it will
not complain about uncommon typos since it will assume they are
technical terms.
Overall it should be a lot easier to maintain than spellcheck.

Signed-off-by: Alex Apostolescu <[email protected]>
Fix broken links

Signed-off-by: Ionut Mihalache <[email protected]>
Update date, location, year, registration, win announcement

Signed-off-by: Ionut Mihalache <[email protected]>
Fix Januray to January

Signed-off-by: Ionut Mihalache <[email protected]>
Update 'Pins' section

Signed-off-by: Razvan-Stefan Costea <[email protected]>
- Use the `quizzify` plugin in `config.yaml`
- Modify `gen-view.py` to fix paths to questions
- Add `.view/` to `.gitignore`
- Update builder version to 0.6.1

Signed-off-by: MadlenaB <[email protected]>
Signed-off-by: Teodor Dutu <[email protected]>
- Nest exams by year and season in `config.yaml`
- Mark 2022 exams as deprecated (their format is no longer used)

Signed-off-by: Teodor Dutu <[email protected]>
Add "Testing System" and "Fuzzing System" exams.

Signed-off-by: Teodor Dutu <[email protected]>
Provide a real-world example for copy-on-write regarding Redis
snapshotting.

Signed-off-by: Alex Apostolescu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.