TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Guide to Linux System Calls (2016)

154 pointsby crunchbang123almost 5 years ago

5 comments

saagarjhaalmost 5 years ago
&gt; Calling system calls by crafting your own assembly is generally a bad idea as the ABI may break underneath you.<p>syscall should have a stable ABI at the very least, because this would otherwise break all statically linked code.
评论 #23670229 未加载
评论 #23670189 未加载
评论 #23670327 未加载
评论 #23677166 未加载
_y5hnalmost 5 years ago
I guess not many actually need to call linux kernel system calls directly bypassing proper measures, but how many fondly remembers int 21h?
评论 #23669664 未加载
评论 #23673143 未加载
评论 #23670925 未加载
krackersalmost 5 years ago
If you&#x27;re interested in more detail: <a href="https:&#x2F;&#x2F;0xax.gitbooks.io&#x2F;linux-insides&#x2F;content&#x2F;SysCall&#x2F;linux-syscall-2.html" rel="nofollow">https:&#x2F;&#x2F;0xax.gitbooks.io&#x2F;linux-insides&#x2F;content&#x2F;SysCall&#x2F;linux...</a>
jkingsberyalmost 5 years ago
In grad school for Operating Systems class, one of our assignments was adding a system call to the linux kernel. I found that a useful exercise - both doable in a reasonable amount of time and also a way to learn a lot.
andrepdalmost 5 years ago
18pt text, gray, thin.<p>Why?