HNHacker News
TopNewBestAskShowJobs

guitmz

141 karma · joined July 28, 2016

my public key: https://keybase.io/guitmz; my proof: https://keybase.io/guitmz/sigs/q3gXQ1kraa09xsyRygitAoI5unDjbr42E1qD-zA_qL4
submissionscomments
guitmz··on Show HN: I've updated my Linux System Call website and API
Thank you!! CLI coming soon too :)
guitmz··on Show HN: I've updated my Linux System Call website and API
É nois!!! Valeu!
guitmz··on Show HN: I've updated my Linux System Call website and API
It was not a problem of the template but rather that I never really "finished" it before so it required manual intervention every time I needed to update the list. I finally put some time into it and it is automated and easily extendable now, so it should continue to work with minimal/no effort.

The data comes directly from the official Kernel source code so it is as official as it gets, I don't change anything just format it in a way my website and API understands

guitmz··on Show HN: I've updated my Linux System Call website and API
The website content comes directly from Kernel sources so should be accurate. The chromium page is what I used to use until I made this website in 2020 but it's very outdated I think
guitmz··on Show HN: I've updated my Linux System Call website and API
Good list, maybe SerenityOS too?
guitmz··on Show HN: I've updated my Linux System Call website and API
It was stale for many years because I had a script to generate the tables for me that ran manually and then I had to convert the data into SQL so my API could use it (and also convert to html for the frontend). I changed the script to generate the dataset from Kernel sources as JSON instead and the API loads it and makes it available.

Then the frontend is refreshed from the API weekly via a cronjob with some simple Go templating

guitmz··on Show HN: I've updated my Linux System Call website and API
As far as I know, the numbers were assigned independently by each port's developers in the 90s as they added calls in their own order. Then it became a frozen ABI nobody could ever renumber, and couldn't have been identical anyway since arches need different syscall variants for things like 32bit vs 64bit types
guitmz··on Show HN: I've updated my Linux System Call website and API
I also made a CLI for consulting the syscall API when I originally released the website. I think I can tidy up the code and make it public too. It uses a embedded dataset so it does not have to query the API endpoint all the time
guitmz··on Show HN: I've updated my Linux System Call website and API
The Linux kernel API is the same everywhere, but the syscall ABI (numbers, calling convention, entry paths) is specific to a architecture, while it's the C library that wraps those details into the portable POSIX API we code against
guitmz··on Show HN: I've updated my Linux System Call website and API
Good catch, thanks! Since 5.14 (I think?) the kernel only reads eax (before that it used all of rax and returned ENOSYS if the upper half wasn't zero), so I'm adding a note about it to the x64 and x32 conventions
guitmz··on Show HN: I've updated my Linux System Call website and API
There's a "Same syscall on other architectures" section already, maybe I could add the Similar section next to it. Edit: but this means it needs a way to actually know they are similar apart from only their names
guitmz··on Tmp.0ut Volume 5
there will be a new Phrack this year still!
guitmz··on Gentoo Linux 2025 Review
same here! very interesting :)
guitmz··on Phrack 72
Thank you. Glad you liked it!
guitmz··on A primer on some C obfuscation tricks
I find that after learning assembly language, things like this become very obvious when seen in different languages, specially C
guitmz··on Hugo Dark Theme Website Generator
Awesome and innovative theme, so good I even forked it (https://github.com/guitmz/after-dark-green). It is the best looking theme around with nice features and support
guitmz··on Cutter – A Qt and C++ GUI for Radare2 reverse engineering framework
IDA Freeware version 7 has the following limitations:

1. Only for non-commercial use 2. Without technical support 3. Only supports x64 code

It DOES support x64. I am using it.

You can download it at: https://www.hex-rays.com/products/ida/support/download_freew...