Elektrine lite

← Feed

@jschauma@mstdn.social

2026-09-22 15:09 UTC

Advanced Programming in the #UNIX Environment Week 3: stat(2) intro In this video lecture, we meet our new best friend, the 'struct stat'. We'll cover the stat(2) system calls and begin discussing each of the fields in the struct, often by example of the ls(1) and stat(1) commands. In this way, we begin learning more about how the Unix File System is implemented. (Note that the output of stat(1) on #NetBSD is different from that on #Linux.) https://youtu.be/veFwXrEHPsk

Replies (1)

  • @jschauma@mstdn.social 2026-09-23 21:10

    Advanced Programming in the #UNIX Environment Week 3: UIDs and GIDs In this video lecture, we'll learn a little bit more about file ownership and the user IDs of a process (real, effective, saved) by looking at the seteuid(2) and setuid(2) system calls and experimenting with setting the setuid bits and observe the file access we gain. https://youtu.be/YlcF3ncTQpo

    Open ##4895842