{"id":15003539,"url":"https://github.com/pzaino/rust-reference-linux-kernel-driver","last_synced_at":"2026-02-14T08:32:52.290Z","repository":{"id":250247209,"uuid":"833671953","full_name":"pzaino/rust-reference-linux-kernel-driver","owner":"pzaino","description":"Just my reference design for Linux Kernel Drivers in Rust","archived":false,"fork":false,"pushed_at":"2024-07-26T14:53:44.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T06:12:32.864Z","etag":null,"topics":["driver","kernel-driver","kernel-module","linux","linux-kernel","rust","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pzaino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-07-25T14:09:01.000Z","updated_at":"2024-07-26T14:53:48.000Z","dependencies_parsed_at":"2024-07-26T04:26:20.396Z","dependency_job_id":"c9740eef-a791-4ab9-a841-d684019ce415","html_url":"https://github.com/pzaino/rust-reference-linux-kernel-driver","commit_stats":null,"previous_names":["pzaino/rust-reference-linux-kernel-driver"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pzaino/rust-reference-linux-kernel-driver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pzaino%2Frust-reference-linux-kernel-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pzaino%2Frust-reference-linux-kernel-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pzaino%2Frust-reference-linux-kernel-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pzaino%2Frust-reference-linux-kernel-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pzaino","download_url":"https://codeload.github.com/pzaino/rust-reference-linux-kernel-driver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pzaino%2Frust-reference-linux-kernel-driver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29440418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T07:24:13.446Z","status":"ssl_error","status_checked_at":"2026-02-14T07:23:58.969Z","response_time":53,"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":["driver","kernel-driver","kernel-module","linux","linux-kernel","rust","rust-lang"],"created_at":"2024-09-24T18:58:52.676Z","updated_at":"2026-02-14T08:32:52.273Z","avatar_url":"https://github.com/pzaino.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RKM (Rust Kernel Module)\n\nThis is just my own Rust Kernel Module template.\nI use it to create my own modules and drivers for the Linux Kernel.\n\nShould work on most distros, but I'm using mostly OpenSUSE Tumbleweed these days.\n\n**Please Note**: Writing kernel modules and drivers in Rust may or may not be\nsupported by your Distro or Kernel release. Please check the documentation\nand the kernel version you are using before messaging me or opening an issue.\nAlso, writing kernel modules and drivers in Rust is not the same as writing\nuser-space applications. You need to be aware of the risks and the consequences\nof writing kernel code and you must know what you're doing.\n\n## How to use\n\n1. Clone this repository\n2. Change the name of the module in the `Cargo.toml` file\n3. Change the name of the module in the `src/lib.rs` file\n4. Link the kernel sources to the project with `ln -s /usr/src/$(uname -m)/build ./rust_module/kernel_path`\n7. Run `make` to build the module\n\n## How to load the module\n\n1. Run `sudo insmod target/debug/lib\u003cmodule_name\u003e.ko`\n2. Check the kernel logs with `dmesg` to see if the module was loaded correctly\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpzaino%2Frust-reference-linux-kernel-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpzaino%2Frust-reference-linux-kernel-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpzaino%2Frust-reference-linux-kernel-driver/lists"}