SchOS/kernel/fs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 3113eff7fe inotify, faccessat2, fsync for Linux programs, and D-Bus credentials
What installing and starting Epiphany ran into:

- inotify: inotify_init/init1, add_watch, rm_watch, as a new kind of event
  descriptor. The filesystem reports creates, deletes, renames (with a
  cookie pairing MOVED_FROM and MOVED_TO), writes, close-after-write,
  truncation and attribute changes, to watches on the inode and on its
  directory with the name. ONESHOT, MASK_ADD, MASK_CREATE, ONLYDIR,
  DONT_FOLLOW, IGNORED on removal, Q_OVERFLOW, and Linux's coalescing of
  repeated events. The hooks cost one load when nothing is watched. Without
  it GLib found no file monitor and GNOME programs aborted.
- FIONREAD on inotify descriptors and pipes (inotifywait sizes its buffer
  by it).
- fsync and fdatasync had no Linux numbers since the first commit: GLib's
  atomic writes, gtk-update-icon-cache and dbus-uuidgen all got ENOSYS.
- faccessat2, the flags-taking faccessat musl uses for any flags.
- sendmsg accepts SCM_CREDENTIALS when they are the sender's own, as Linux
  checks; GDBus sends them in every handshake and was refused with EINVAL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-25 06:40:28 +01:00
..
fat include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
schfs Pseudo-terminals, and what tmux and htop needed around them 2026-10-25 02:11:10 +01:00
devfs.c Pseudo-terminals, and what tmux and htop needed around them 2026-10-25 02:11:10 +01:00
exec.c Threads 2026-10-25 03:03:50 +01:00
file.c inotify, faccessat2, fsync for Linux programs, and D-Bus credentials 2026-10-25 06:40:28 +01:00
fs.c Pseudo-terminals, and what tmux and htop needed around them 2026-10-25 02:11:10 +01:00
lock.c flock, fcntl record locks 2026-10-24 12:22:36 +02:00
log.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
pipe.c inotify, faccessat2, fsync for Linux programs, and D-Bus credentials 2026-10-25 06:40:28 +01:00
procfs.c Threads 2026-10-25 03:03:50 +01:00
sysfs.c input, fb, vt, sysfs: the kernel calls Xorg makes 2026-10-24 12:06:04 +02:00