Jan Schaumann
banner
jschauma.mstdn.social.ap.brid.gy
Jan Schaumann
@jschauma.mstdn.social.ap.brid.gy
Vell, I'm just zis guy, you know?

[bridged from https://mstdn.social/@jschauma on the fediverse by https://fed.brid.gy/ ]
Advanced Programming in the Unix Environment

Week 13: Restricting Processes: Processor Affinity and CPU Sets

In this video lecture, we discuss how we can restrict a process to a specific CPU or set of CPUs by way of "CPU pinning" or processor affinity and via CPU sets […]
Original post on mstdn.social
mstdn.social
December 2, 2025 at 3:53 PM
Advanced Programming in the Unix Environment

Week 13: Restricting Processes: Process Priorities

In this video lecture, we revisit resource utilization by processes and how to set their CPU scheduling priority or "niceness". We discuss dynamic priority scheduling algorithms and the use of the […]
Original post on mstdn.social
mstdn.social
December 1, 2025 at 2:53 PM
Advanced Programming in the Unix Environment

Week 13: Restricting Processes: Restricted shells, Chroots, Jails

In this video lecture, we cover restricted shells, the chroot(2) syscall, and FreeBSD jails as ways to contain users and processes beyond file access controls […]
Original post on mstdn.social
mstdn.social
November 30, 2025 at 6:24 PM
Advanced Programming in the Unix Environment

Week 13: Restricting Processes: eUIDs, file flags, mount options, securelevels

In this video lecture, we look at new ways to restrict processes and even root itself. We revisit how we change effective UIDs using setuid, su(1) and sudo(8), and then […]
Original post on mstdn.social
mstdn.social
November 29, 2025 at 4:09 PM
Advanced Programming in the Unix Environment

Week 13: Restricting Processes: POSIX ACLs

This week we're diving deeper into ways to restrict processes. We begin with a review of standard Unix file permissions and then show how POSIX.1e Access Control Lists (ACLs) can be used for more […]
Original post on mstdn.social
mstdn.social
November 28, 2025 at 6:51 PM
Going forward, I'm going to prefix all my chat messages with a separate message that just consists of

"Thinking..."

followed by a short delay.
November 27, 2025 at 2:36 AM
Advanced Programming in the Unix Environment

Week 12: Cryptographic Basics

A segment on where and how cryptography can help solve certain security issues, including a few code examples for how to handle secrets/passwords (and how they linger in memory!), how to hash passwords, and the impact […]
Original post on mstdn.social
mstdn.social
November 26, 2025 at 1:17 PM
Nice, Amazon AWS is really stepping up #PQC support at last. In addition to S3, they now also offer TLS 1.3 PQC hybrid key exchange on Application Load Balancers (ALB) and Network Load Balancers (NLB) […]
Original post on mstdn.social
mstdn.social
November 25, 2025 at 3:08 PM
Advanced Programming in the Unix Environment

Week 12: Asynchronous and Memory Mapped I/O

With this video, we conclude our short series on advanced I/O topics with a quick summary of asynchronous (aio(7)) and memory mapped I/O (mmap(2)).

https://youtu.be/_R_t0d5BzEk

#apue #Unix #Programming
November 25, 2025 at 2:45 PM
Looks like Safari uses ODoH / Private Relay for DNS if you have "Hide IP Address from trackers" _not_ enabled, but you _do_ have "Use advanced tracking and fingerprinting protection" enabled. With that option, there's traffic to `mask.icloud.com` etc., presumably DoH[1] prior to the TCP […]
Original post on mstdn.social
mstdn.social
November 22, 2025 at 6:48 PM
Advanced Programming in the Unix Environment

Week 12: Resource Locking

More miscellaneous "advanced I/O" - this time we discuss resource- and record locking using flock(2), lockf(3), and fcntl(2).

https://youtu.be/017DtsMRHjg

#apue #Unix #Programming
November 21, 2025 at 4:46 PM
Advanced Programming in the Unix Environment

Week 12: Non-blocking I/O

Continuing our grab bag of miscellaneous topics, we briefly cover non-blocking I/O, whereby a system call that would normally block, waiting for I/O, returns immediately with an errno of EAGAIN or EWOULDBLOCK. We use the […]
Original post on mstdn.social
mstdn.social
November 20, 2025 at 7:16 PM
Advanced Programming in the Unix Environment

Week 12: syslog(3)

In this video lecture, we take a look at the standard Unix central logging facility, syslogd(8), and the syslog(3) library function. We show examples of system logs and how to separate messages by […]

[Original post on mstdn.social]
November 19, 2025 at 9:03 PM