[ImgBot] Optimize images#1
Open
imgbot[bot] wants to merge 34 commits into
Open
Conversation
…ture, multi-distro install, screenshot placeholders - Replace all prose en/em dashes with colons across all doc files - Remove emojis from navbar, sidebar, and homepage - Add circular profile photos for both team members on homepage - Restructure README.md with HTML collapsible TOC, team table, multi-distro install steps - Add Debian/Ubuntu/Kali and Arch Linux install steps in environment-setup.md - Add screenshot placeholders to 5 doc pages (environment-setup, phase1, phase2, phase3, compliance) - Create docs/static/img/screenshots/ with minimal placeholder PNGs so build resolves refs - Expand all 7 doc pages to be detailed and professional (no AI feel, no emojis) - Build verified: 0 errors
Covers Docusaurus build artifacts, xv6 build outputs (kernel binary, fs.img, object files, debug symbols, usys.S), QEMU/GDB session files, editor/OS junk files, and LaTeX intermediates.
…ake sample output
…ion corrections, LinkedIn cards kernel/trap.c: - Add scause_name() helper translating all standard RISC-V scause codes to human-readable strings - Add [TRAP] pid/uid/trap/epc printf for every syscall entry (criterion 3.1) user/compliance_test.c: - Add second student (Ahmed Mohamed Mahmoud - 221010720) to report footer docs/src/pages/index.tsx + index.module.css: - Wrap team cards in <a> linking to LinkedIn profiles - Add LinkedIn SVG badge with hover opacity animation and card lift effect docs/docs/fda-iec62443-context.md: - Hyperlink CVE-2019-10964 to NVD docs/docs/intro.md + environment-setup.md: - Fix login credentials: root/root123 -> admin/admin123 docs/docs/phase1-authentication.md: - Fix /etc/passwd format: colon-separated -> pipe-separated (username|uid|gid|role|hash) - Fix field table: correct order, examples, and descriptions - Remove non-existent root/root123 account from demo table - Fix Clinician -> Doctor and ROLE_CLINICIAN -> ROLE_DOCTOR docs/docs/phase2-file-permissions.md: - Fix /patient/records: mode 0640 uid=2 -> mode 0400 uid=1 (actual mkfs values) - Fix /dosage/insulin.log: mode 0660 uid=1 -> mode 0620 uid=2 (actual mkfs values) docs/docs/phase3-audit-log.md: - Update trap printing section to show actual [TRAP] format with scause_name() docs/docs/bonus-compliance-testing.md: - Fix T01, T03 test rows and T17 narrative: root/root123 -> admin/admin123
…console spam printf calls write() which is itself a syscall, so logging every ECALL via printf produces one TRAP line per character printed. Remove the printf and the now-unused scause_name() helper entirely. Audit coverage is provided by audit_log() calls in the syscall handlers, readable via the audit_dump userspace tool. Update phase3-audit-log.md to reflect the correct design.
Replace the four-word djb2-style teaching hash with a full SHA-256 implementation. The interface (pw_hash) is unchanged — all call sites adapt automatically via HASH_LEN. Key changes: - HASH_LEN 32 → 64 (SHA-256 = 64 hex chars = 256 bits) - PASSWD_BUF_SIZE 1024 → 2048 (room for 16 users with 64-char hashes) - pw_hash() now computes a standard SHA-256 digest (~80 lines, no deps) - Documentation and report updated to reflect SHA-256 usage
… files - kernel security modules: explain SHA-256, credential parsing, audit ring buffer, DAC resolution - kernel integration: syscall dispatch with audit hook, permission checks in open/exec/read/write - process management: security field init, fork inheritance, auth seed flow - user programs: login flow, compliance test matrix, syscall name decoding - docs site: landing page data flow, PDF builder two-pass rendering, print stylesheet
Removed the text compliance report from README and added a compliance test results image.
auth.c: pw_hash hex loop used an unsigned loop counter, so `j >= 0` never became false and the digest write ran off the buffer into unmapped memory, panicking at boot. Use a signed counter. Also move the 2KB read_passwd/write_passwd buffers to static storage so the auth_login -> read_passwd chain no longer overflows the 1-page kernel stack (struct credential grew with the SHA-256 digest). compliance_test.c: restore the pass_count/fail_count declarations and the T17/T18 statements that were dropped, which left the file unable to compile. usertests.c: drop the unused fsblocks variable that broke the build under -Werror.
*Total -- 4,682.83kb -> 4,308.10kb (8%) /docs/static/img/logos/AAST Logo.png -- 33.41kb -> 25.87kb (22.56%) /docs/static/img/screenshots/phase3-audit-dump.png -- 189.08kb -> 156.25kb (17.37%) /docs/static/img/screenshots/compliance-full-pass.png -- 179.79kb -> 152.74kb (15.05%) /docs/static/img/screenshots/phase2-perm-denied.png -- 103.82kb -> 92.22kb (11.17%) /docs/static/img/screenshots/phase1-login-sequence.png -- 91.94kb -> 83.00kb (9.72%) /docs/static/img/Ahmed Walid.png -- 2,088.04kb -> 1,904.25kb (8.8%) /docs/static/img/screenshots/qemu-boot-login.png -- 78.42kb -> 72.55kb (7.49%) /docs/static/img/Jana Ashraf.png -- 1,918.32kb -> 1,821.21kb (5.06%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
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.
Beep boop. Your images are optimized!
Your image file size has been reduced by 8% 🎉
Details
📝 docs |
repo | 🙋🏾 issues | 🏪 marketplace
~Imgbot - Part of Optimole family