home.social

#syscalls — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #syscalls, aggregated by home.social.

  1. 🔧🤖 Ah, what a noble quest: #coding a web server in #aarch64 #assembly to fill the existential void left by modern conveniences. Because, clearly, the best way to achieve enlightenment is by manually handling #syscalls and discarding decades of progress. 🌐🚀 Enjoy reinventing the wheel, one byte at a time!
    imtomt.github.io/ymawky/ #webserver #techhumor #reinventingthewheel #HackerNews #ngated

  2. 🔧🤖 Ah, what a noble quest: #coding a web server in #aarch64 #assembly to fill the existential void left by modern conveniences. Because, clearly, the best way to achieve enlightenment is by manually handling #syscalls and discarding decades of progress. 🌐🚀 Enjoy reinventing the wheel, one byte at a time!
    imtomt.github.io/ymawky/ #webserver #techhumor #reinventingthewheel #HackerNews #ngated

  3. 🔧🤖 Ah, what a noble quest: #coding a web server in #aarch64 #assembly to fill the existential void left by modern conveniences. Because, clearly, the best way to achieve enlightenment is by manually handling #syscalls and discarding decades of progress. 🌐🚀 Enjoy reinventing the wheel, one byte at a time!
    imtomt.github.io/ymawky/ #webserver #techhumor #reinventingthewheel #HackerNews #ngated

  4. 🔧🤖 Ah, what a noble quest: #coding a web server in #aarch64 #assembly to fill the existential void left by modern conveniences. Because, clearly, the best way to achieve enlightenment is by manually handling #syscalls and discarding decades of progress. 🌐🚀 Enjoy reinventing the wheel, one byte at a time!
    imtomt.github.io/ymawky/ #webserver #techhumor #reinventingthewheel #HackerNews #ngated

  5. 🔧🤖 Ah, what a noble quest: #coding a web server in #aarch64 #assembly to fill the existential void left by modern conveniences. Because, clearly, the best way to achieve enlightenment is by manually handling #syscalls and discarding decades of progress. 🌐🚀 Enjoy reinventing the wheel, one byte at a time!
    imtomt.github.io/ymawky/ #webserver #techhumor #reinventingthewheel #HackerNews #ngated

  6. Деконструкция GO: CPU, RAM и что там происходит. Syscalls. Часть 1.5

    Итак, финал части 1! По крайней мере основного разбора без дополнений. Собственно, сегодня мы разберем то, чем в основном с точки зрения ядра ОС и CPU являются все вот эти ваши бэкенды – системные вызовы и всё, что вокруг них. На самом деле механизм немного замудренный и “в лоб” сразу все эти системные вызовы мы разбирать не будем, потому что вокруг них существует ещё несколько концепций. Итак, начнем! User mode, Kernel mode Процессор исполняет код в разных уровнях привилегий. Это механизм защиты, который не позволяет пользовательским программам напрямую управлять системой. Зачем? Для безопасности. Чтобы чей-нибудь опасный ассемблерный вайбкод случайно всё не поломал! Да и вообще, если бы любая программа могла выполнять любые инструкции CPU, она могла бы: • Читать память других процессов • Управлять устройствами • Изменять таблицы страниц • Выключать систему Чтобы этого не происходило, CPU разделяет код по уровням доступа. Хотя в архитектуре x86 существует 4 уровня привилегий: Ring 0 – kernel mode Ring 1 – драйверы Ring 2 – системные службы и файлы Ring 3 – user mode По факту, Ring 1 и Ring 2 – это легаси, которое американские деды проектировали с научной красотой, но без реальной производственной необходимости. В реальной жизни используются только 2 уровня – Ring 0 и Ring 3 для бОльшей совместимости софта с другими ОС, упрощения поддержки, да и вообще переключение уровней доступа дорогое(100-150 тактов CPU), соответственно, чем больше колец, тем хуже производительность. Получается, что В user mode выполняется обычный код программ.

    habr.com/ru/articles/1027988/

    #go #cpu #system #syscalls #assembler #net

  7. Деконструкция GO: CPU, RAM и что там происходит. Syscalls. Часть 1.5

    Итак, финал части 1! По крайней мере основного разбора без дополнений. Собственно, сегодня мы разберем то, чем в основном с точки зрения ядра ОС и CPU являются все вот эти ваши бэкенды – системные вызовы и всё, что вокруг них. На самом деле механизм немного замудренный и “в лоб” сразу все эти системные вызовы мы разбирать не будем, потому что вокруг них существует ещё несколько концепций. Итак, начнем! User mode, Kernel mode Процессор исполняет код в разных уровнях привилегий. Это механизм защиты, который не позволяет пользовательским программам напрямую управлять системой. Зачем? Для безопасности. Чтобы чей-нибудь опасный ассемблерный вайбкод случайно всё не поломал! Да и вообще, если бы любая программа могла выполнять любые инструкции CPU, она могла бы: • Читать память других процессов • Управлять устройствами • Изменять таблицы страниц • Выключать систему Чтобы этого не происходило, CPU разделяет код по уровням доступа. Хотя в архитектуре x86 существует 4 уровня привилегий: Ring 0 – kernel mode Ring 1 – драйверы Ring 2 – системные службы и файлы Ring 3 – user mode По факту, Ring 1 и Ring 2 – это легаси, которое американские деды проектировали с научной красотой, но без реальной производственной необходимости. В реальной жизни используются только 2 уровня – Ring 0 и Ring 3 для бОльшей совместимости софта с другими ОС, упрощения поддержки, да и вообще переключение уровней доступа дорогое(100-150 тактов CPU), соответственно, чем больше колец, тем хуже производительность. Получается, что В user mode выполняется обычный код программ.

    habr.com/ru/articles/1027988/

    #go #cpu #system #syscalls #assembler #net

  8. Деконструкция GO: CPU, RAM и что там происходит. Syscalls. Часть 1.5

    Итак, финал части 1! По крайней мере основного разбора без дополнений. Собственно, сегодня мы разберем то, чем в основном с точки зрения ядра ОС и CPU являются все вот эти ваши бэкенды – системные вызовы и всё, что вокруг них. На самом деле механизм немного замудренный и “в лоб” сразу все эти системные вызовы мы разбирать не будем, потому что вокруг них существует ещё несколько концепций. Итак, начнем! User mode, Kernel mode Процессор исполняет код в разных уровнях привилегий. Это механизм защиты, который не позволяет пользовательским программам напрямую управлять системой. Зачем? Для безопасности. Чтобы чей-нибудь опасный ассемблерный вайбкод случайно всё не поломал! Да и вообще, если бы любая программа могла выполнять любые инструкции CPU, она могла бы: • Читать память других процессов • Управлять устройствами • Изменять таблицы страниц • Выключать систему Чтобы этого не происходило, CPU разделяет код по уровням доступа. Хотя в архитектуре x86 существует 4 уровня привилегий: Ring 0 – kernel mode Ring 1 – драйверы Ring 2 – системные службы и файлы Ring 3 – user mode По факту, Ring 1 и Ring 2 – это легаси, которое американские деды проектировали с научной красотой, но без реальной производственной необходимости. В реальной жизни используются только 2 уровня – Ring 0 и Ring 3 для бОльшей совместимости софта с другими ОС, упрощения поддержки, да и вообще переключение уровней доступа дорогое(100-150 тактов CPU), соответственно, чем больше колец, тем хуже производительность. Получается, что В user mode выполняется обычный код программ.

    habr.com/ru/articles/1027988/

    #go #cpu #system #syscalls #assembler #net

  9. Деконструкция GO: CPU, RAM и что там происходит. Syscalls. Часть 1.5

    Итак, финал части 1! По крайней мере основного разбора без дополнений. Собственно, сегодня мы разберем то, чем в основном с точки зрения ядра ОС и CPU являются все вот эти ваши бэкенды – системные вызовы и всё, что вокруг них. На самом деле механизм немного замудренный и “в лоб” сразу все эти системные вызовы мы разбирать не будем, потому что вокруг них существует ещё несколько концепций. Итак, начнем! User mode, Kernel mode Процессор исполняет код в разных уровнях привилегий. Это механизм защиты, который не позволяет пользовательским программам напрямую управлять системой. Зачем? Для безопасности. Чтобы чей-нибудь опасный ассемблерный вайбкод случайно всё не поломал! Да и вообще, если бы любая программа могла выполнять любые инструкции CPU, она могла бы: • Читать память других процессов • Управлять устройствами • Изменять таблицы страниц • Выключать систему Чтобы этого не происходило, CPU разделяет код по уровням доступа. Хотя в архитектуре x86 существует 4 уровня привилегий: Ring 0 – kernel mode Ring 1 – драйверы Ring 2 – системные службы и файлы Ring 3 – user mode По факту, Ring 1 и Ring 2 – это легаси, которое американские деды проектировали с научной красотой, но без реальной производственной необходимости. В реальной жизни используются только 2 уровня – Ring 0 и Ring 3 для бОльшей совместимости софта с другими ОС, упрощения поддержки, да и вообще переключение уровней доступа дорогое(100-150 тактов CPU), соответственно, чем больше колец, тем хуже производительность. Получается, что В user mode выполняется обычный код программ.

    habr.com/ru/articles/1027988/

    #go #cpu #system #syscalls #assembler #net

  10. strace(1) is now on rat steroids 🤯

    🔍 **strace-tui** — Visualize/explore syscalls in the terminal

    💯 Color-coded calls, live filtering, search & stack traces with source resolution!

    🦀 Written in Rust & built with @ratatui_rs

    ⭐ GitHub: github.com/Rodrigodd/strace-tui

  11. 🐧 Oh, the joy of #Linux syscall numbers! 🖥️ Because apparently, compiling a C table is the pinnacle of "Programming Wisdom" these days. 🧙‍♂️ Why bother with actual coding when you can just tweak your font size and theme settings for the perfect techie aesthetic? 🎨✨
    t-cadet.github.io/programming- #Syscalls #Programming #CTable #TechAesthetic #CodeHumor #HackerNews #ngated

  12. 🐧 Oh, the joy of #Linux syscall numbers! 🖥️ Because apparently, compiling a C table is the pinnacle of "Programming Wisdom" these days. 🧙‍♂️ Why bother with actual coding when you can just tweak your font size and theme settings for the perfect techie aesthetic? 🎨✨
    t-cadet.github.io/programming- #Syscalls #Programming #CTable #TechAesthetic #CodeHumor #HackerNews #ngated

  13. 🐧 Oh, the joy of #Linux syscall numbers! 🖥️ Because apparently, compiling a C table is the pinnacle of "Programming Wisdom" these days. 🧙‍♂️ Why bother with actual coding when you can just tweak your font size and theme settings for the perfect techie aesthetic? 🎨✨
    t-cadet.github.io/programming- #Syscalls #Programming #CTable #TechAesthetic #CodeHumor #HackerNews #ngated

  14. 🐧 Oh, the joy of #Linux syscall numbers! 🖥️ Because apparently, compiling a C table is the pinnacle of "Programming Wisdom" these days. 🧙‍♂️ Why bother with actual coding when you can just tweak your font size and theme settings for the perfect techie aesthetic? 🎨✨
    t-cadet.github.io/programming- #Syscalls #Programming #CTable #TechAesthetic #CodeHumor #HackerNews #ngated

  15. New free guide released: System calls and strace! 🚀

    Do you want to troubleshoot Linux like a pro? Our latest free guide shows you how to inspect system calls using strace, a must-have tool for every SysAdmin, SRE and DevOps engineer.

    learnbyfixing.com/guides/syste

    #LearnByFixing #Linux #DevOps #SRE #Sysadmin #syscalls #strace

  16. New scenario released! 🚀

    Port already taken? But which one?

    In this scenario, you’ll learn how to:
    - Identify which port a program needs to listen on.
    - Track down the process that's already listening on that port.

    Level up your Linux troubleshooting skills and dive in now!
    learnbyfixing.com/scenarios/14/

    Happy fixing!

    #LearnByFixing #Linux #DevOps #SRE #Sysadmin #syscalls #strace

  17. New scenario released! 🚀

    Having the config file for a program is not enough. You also need to put it in the right place so that the program can find it. But it's not that easy when you don't know where the program is looking for its config file!

    Check it out and level up your troubleshooting skills: learnbyfixing.com/scenarios/13/

    Happy fixing!

    #LearnByFixing #Linux #DevOps #SRE #Sysadmin #syscalls #strace

  18. New scenario released! 🚀

    Having the config file for a program is not enough. You also need to put it in the right place so that the program can find it. But it's not that easy when you don't know where the program is looking for its config file!

    Check it out and level up your troubleshooting skills: learnbyfixing.com/scenarios/13/

    Happy fixing!

    #LearnByFixing #Linux #DevOps #SRE #Sysadmin #syscalls #strace

  19. New scenario released! 🚀

    Having the config file for a program is not enough. You also need to put it in the right place so that the program can find it. But it's not that easy when you don't know where the program is looking for its config file!

    Check it out and level up your troubleshooting skills: learnbyfixing.com/scenarios/13/

    Happy fixing!

    #LearnByFixing #Linux #DevOps #SRE #Sysadmin #syscalls #strace

  20. New scenario released! 🚀

    Having the config file for a program is not enough. You also need to put it in the right place so that the program can find it. But it's not that easy when you don't know where the program is looking for its config file!

    Check it out and level up your troubleshooting skills: learnbyfixing.com/scenarios/13/

    Happy fixing!

    #LearnByFixing #Linux #DevOps #SRE #Sysadmin #syscalls #strace

  21. NVIDIA just blessed us with a "groundbreaking" open-source #profiler that promises to spy on our GPUs without slowing them down. 🙄 Finally, we can monitor every mundane syscall without feeling like we're swimming through molasses—because who doesn't want more data to ignore in production? 🚀🔍
    polarsignals.com/blog/posts/20 #NVIDIA #OpenSource #GPU #Monitoring #DataAnalysis #Syscalls #Performance #HackerNews #ngated

  22. 🤔 Oh, look! A riveting tale of someone accidentally #learning too much about #Linux #syscalls while playing with a #RISCV simulator—because apparently, everyone needs to know how deeply #boring the "execve" call can be! 🚀 Spoiler: it involves passing filenames, arguments, and environment variables—mind-blowing stuff, right? 🙄
    amit.prasad.me/blog/before-main #Fun #Tech #HackerNews #ngated

  23. "An explanation of how #Linux handles system calls on x86-64 and why they show up as expensive operations in performance profiles

    blog.codingconfessions.com/p/w – from Abhinav Upadhyay

    #LinuxKernel #Kernel #syscalls

  24. #Go escape, or... //go:noescape
    "meaning that the function has an implementation not written in Go"
    very mysterious.
    pkg.go.dev/cmd/compile

    Today I learned a few first things about the #Golang runtime internals and how they may invoke #syscalls.
    go.dev/doc/asm gives a quick tour.
    How exactly Asm ends up in Go is still not 100% clear to me.

    See also my (for now draft) PR to fix an issue in the runtime:
    github.com/golang/go/pull/75306

    If you have any clue, help would be appreciated. 🙇

  25. @cks

    The irony is that the constraint that you're talking about went away in the early 1980s when processors with more than just a single accumulator register became popular.

    Sinclair QDOS is another, roughly contemporary but a few years earlier, example. The 68008 had far more general-purpose registers than the Z80, so the system call TRAPs in QDOS uniformly return an error code in D0 and up to three results in D1, D2, and D3.

    #QDOS #syscalls #SinclairQL

  26. @cks

    The irony is that the constraint that you're talking about went away in the early 1980s when processors with more than just a single accumulator register became popular.

    Sinclair QDOS is another, roughly contemporary but a few years earlier, example. The 68008 had far more general-purpose registers than the Z80, so the system call TRAPs in QDOS uniformly return an error code in D0 and up to three results in D1, D2, and D3.

    #QDOS #syscalls #SinclairQL

  27. @cks

    The irony is that the constraint that you're talking about went away in the early 1980s when processors with more than just a single accumulator register became popular.

    Sinclair QDOS is another, roughly contemporary but a few years earlier, example. The 68008 had far more general-purpose registers than the Z80, so the system call TRAPs in QDOS uniformly return an error code in D0 and up to three results in D1, D2, and D3.

    #QDOS #syscalls #SinclairQL

  28. Атаки на контейнерные системы и композиция данных для их обнаружения

    Введение В последние годы контейнеризация и контейнерные системы стали конкурентной альтернативой виртуализации и виртуальным операционным системам, поскольку контейнерные системы предлагают более рациональный подход к использованию вычислительных ресурсов. Это достигается за счёт упаковки в образ контейнера только необходимых программных компонентов, что позволяет запустить контейнер с минимальным набором библиотек и утилит. Но при использовании контейнерных систем одно неправильное движение может привести к катастрофическим последствиям. В статье расскажу о некоторых видах атак на контейнеры и способах их обнаружения.

    habr.com/ru/companies/gaz-is/a

    #газинформсервис #информационная_безопасность #нейросети #контейнеры #атаки #обнаружение_атак #syscalls #логи

  29. 🍖 Ah, the "essential" #guide to the #Windows x86-64 syscall table—because everyone just loves a riveting dive into #hexadecimal soup 🥣. Don't worry, by the time you finish deciphering this, Windows 27 will be out and your newfound #knowledge will be as useful as a floppy disk 📀.
    j00ru.vexillium.org/syscalls/n #Syscalls #Essential #Tech #Humor #HackerNews #ngated

  30. 🤔 Oh, you wanted to know where the #bytes go? Well, let's take a thrilling tour through the #labyrinth of #syscalls, because nothing screams excitement like relentless file paths and arcane #assembly #language. 🚀 Spoiler alert: it's all gloriously tedious, but don't worry, your bytes are probably somewhere safe... or not. 🤷‍♂️
    flak.tedunangst.com/post/where #tech #thrill #HackerNews #ngated

  31. Linux 6.15 will bring open_tree_attr() system call.

    "Add open_tree_attr() which allow to atomically create a detached mount tree and set mount options on it. If OPEN_TREE_CLONE is used this will allow the creation of a detached mount with a new set of mount options without it ever being exposed to userspace without that set of mount options applied."

    lore.kernel.org/all/20250128-w

    #syscalls

  32. 🎩✨ Behold, the riveting saga of #syscalls on OpenBSD! Because, naturally, manually entering addresses for every build wasn't enough of a party 🚀. Now, watch in awe as one brave soul ports a "real" application to raw syscalls—truly, the Shakespeare of low-level programming! 🐢🔧
    nullprogram.com/blog/2025/03/0 #OpenBSD #lowlevelprogramming #technews #softwaredevelopment #codingadventures #HackerNews #ngated

  33. 🎩✨ Behold, the riveting saga of #syscalls on OpenBSD! Because, naturally, manually entering addresses for every build wasn't enough of a party 🚀. Now, watch in awe as one brave soul ports a "real" application to raw syscalls—truly, the Shakespeare of low-level programming! 🐢🔧
    nullprogram.com/blog/2025/03/0 #OpenBSD #lowlevelprogramming #technews #softwaredevelopment #codingadventures #HackerNews #ngated

  34. 🎩✨ Behold, the riveting saga of #syscalls on OpenBSD! Because, naturally, manually entering addresses for every build wasn't enough of a party 🚀. Now, watch in awe as one brave soul ports a "real" application to raw syscalls—truly, the Shakespeare of low-level programming! 🐢🔧
    nullprogram.com/blog/2025/03/0 #OpenBSD #lowlevelprogramming #technews #softwaredevelopment #codingadventures #HackerNews #ngated

  35. 🎩✨ Behold, the riveting saga of #syscalls on OpenBSD! Because, naturally, manually entering addresses for every build wasn't enough of a party 🚀. Now, watch in awe as one brave soul ports a "real" application to raw syscalls—truly, the Shakespeare of low-level programming! 🐢🔧
    nullprogram.com/blog/2025/03/0 #OpenBSD #lowlevelprogramming #technews #softwaredevelopment #codingadventures #HackerNews #ngated

  36. Experimented with #ToaruOS today and wrote my first ever syscall. Not just for ToaruOS, but in general.

    (I had to make the panic() function non-static for this to work, but it was worth it.)

    It’s my first time really tinkering with ToaruOS’s internals at the code level so I’m very proud of myself.

    May write a guide for this eventually, lemme know if you wanna see that. It’ll be on my blog.

    #OSDev #Programming #Kernel #Development #OperatingSystem #Tech #Technology #Computing #Cool #Syscalls

  37. 💥 Want to see how simple ASM can be and dilly-dally some more with syscalls and OS security mechanisms?

    Then, "Let's Reflect: Simple ASM Review and OS Security Mechanisms"

    🎯 Want to level up your low-level programming?

    Check out yet another blog entry: dreaming-of-dragons.blogspot.c

    #ASM #ReverseEngineering #Linux #TechBlog #LowLevelProgramming #Syscalls #Security #GDB

  38. Learn how #macOS enforces security with the Mandatory Access Control Framework (#MACF). Dive into #policy modules, #hooks, #syscalls, kernel events, and more. Explore detailed insights into #Apple’s robust security model. Enjoy!

    karol-mazurek.medium.com/macf-

  39. Learn how #macOS enforces security with the Mandatory Access Control Framework (#MACF). Dive into #policy modules, #hooks, #syscalls, kernel events, and more. Explore detailed insights into #Apple’s robust security model. Enjoy!

    karol-mazurek.medium.com/macf-

  40. Learn how #macOS enforces security with the Mandatory Access Control Framework (#MACF). Dive into #policy modules, #hooks, #syscalls, kernel events, and more. Explore detailed insights into #Apple’s robust security model. Enjoy!

    karol-mazurek.medium.com/macf-