Skip to content

[ImgBot] Optimize images#1

Open
imgbot[bot] wants to merge 34 commits into
mainfrom
imgbot
Open

[ImgBot] Optimize images#1
imgbot[bot] wants to merge 34 commits into
mainfrom
imgbot

Conversation

@imgbot

@imgbot imgbot Bot commented May 14, 2026

Copy link
Copy Markdown

Beep boop. Your images are optimized!

Your image file size has been reduced by 8% 🎉

Details
File Before After Percent reduction
/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.80%
/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%
Total : 4,682.83kb 4,308.10kb 8.00%

📝 docs | :octocat: repo | 🙋🏾 issues | 🏪 marketplace

~Imgbot - Part of Optimole family

ahmeddwalid and others added 30 commits May 9, 2026 17:05
…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.
…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.
ahmeddwalid and others added 4 commits June 1, 2026 06:11
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants