Conversation
Deploying ferrite-c with
|
| Latest commit: |
43ec68c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4b32ed52.ferrite-c.pages.dev |
| Branch Preview URL: | https://add-cd.ferrite-c.pages.dev |
This was
linked to
issues
Feb 1, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR builds out a functional Unix-like userspace by implementing core file utilities (cat, touch, mkdir, rmdir, rm), system tools (mount, insmod, rmmod, time), and a significantly enhanced shell with builtins (cd, pwd, export, env, echo, reboot), environment variable support, and PATH-based command resolution. The shell now properly forks and executes external programs, making it a real interactive environment rather than just a command dispatcher. Added essential libc functionality including malloc/free memory allocation using sbrk, atoi for string parsing, and strchr for string manipulation, along with syscall wrappers for all the file operations, module management, and system control functions these tools require. Moved fcntl.h and other shared definitions to the uapi boundary for proper kernel-userspace separation, added the brk syscall (currently stubbed) to support future heap management, implemented the reboot syscall with magic number validation and permission checks, and changed time_t from unsigned to signed long to match POSIX conventions and avoid year 2038 issues on 32-bit systems.