{"id":17187199,"url":"https://github.com/domfarolino/os","last_synced_at":"2026-01-20T14:02:23.616Z","repository":{"id":71306227,"uuid":"102687699","full_name":"domfarolino/os","owner":"domfarolino","description":"Repository to accompany me along me OS journey","archived":false,"fork":false,"pushed_at":"2020-09-07T17:01:08.000Z","size":182,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T05:33:25.658Z","etag":null,"topics":["c","concurrency","kernel-module","linux","mutex","operating-systems","posix","posix-apis","semaphore","synchronization","system-calls","system-v","unix"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/domfarolino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-07T03:37:41.000Z","updated_at":"2020-09-07T17:01:08.000Z","dependencies_parsed_at":"2023-02-24T06:30:49.709Z","dependency_job_id":null,"html_url":"https://github.com/domfarolino/os","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/domfarolino/os","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domfarolino%2Fos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domfarolino%2Fos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domfarolino%2Fos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domfarolino%2Fos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/domfarolino","download_url":"https://codeload.github.com/domfarolino/os/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domfarolino%2Fos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28604712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","concurrency","kernel-module","linux","mutex","operating-systems","posix","posix-apis","semaphore","synchronization","system-calls","system-v","unix"],"created_at":"2024-10-15T01:05:39.469Z","updated_at":"2026-01-20T14:02:23.599Z","avatar_url":"https://github.com/domfarolino.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# os\nRepository to accompany me along my OS journey. This repo consists primarily of C code that ranges from the\ncreation of basic kernel modules to code that utilizes POSIX system calls.\n\nRandom things learned:\n\n - A good way to view the default include path for gcc is `echo | gcc -E -Wp,-v -x c -`\n   - `-E` only runs the C preprocessor\n   - `-Wp,option` flag passes `option` directly to the preprocessor, bypassing the compiler driver. Here `-v` indicates verbose\n   - `-` indicates the input will be coming from stdin\n   - `-x c` indicates the \"C\" language; this is good to do since we're accepting input from stdin\n - Finding the full path of some included header can be done with `echo \"#include \u003csomeHeader.h\u003e\" | gcc -E -x c -| grep /someHeader.h`\n - System calls are found in the second section of the man pages, and therefore can be accessed via `man 2 \u003csystemCallhere\u003e`\n - Wow I finally learned the UNIX filesystem permission model!\n - Makefile rule/target stuff: ![^@=target](imgs/make.png)\n - CTRL+v in insert mode in vim inserts a literal copy of the next character (https://stackoverflow.com/a/4781099/3947332)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomfarolino%2Fos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomfarolino%2Fos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomfarolino%2Fos/lists"}