glibc

Tag

Cards List
#glibc

yet another place where a linux man page is inaccurate

Lobsters Hottest ↗ · 2026-10-14 Cached

博主更正了此前关于 glibc 中 initstate() 不遵循 POSIX 错误返回规范的说法:该 bug 早在 2013 年就已修复,只是 initstate(3) man page 至今未更新,且页面还遗漏了 POSIX 实际上并未为该函数定义任何错误条件这一关键信息。

0 favorites 0 likes
#glibc

your c is not standard c

Lobsters Hottest ↗ · 2026-10-12 Cached

一篇技术博客文章,列举了标准 C 与 gcc/clang + glibc/musl 实际行为之间的多种不兼容之处,包括 asm 关键字、FLT_ROUNDS、标准 pragma 未实现以及 initstate 错误处理等问题。

0 favorites 0 likes
#glibc

Dissecting House of Apple 2 on modern glibc

Lobsters Hottest ↗ · 2026-09-26 Cached

This article dissects the House of Apple 2 exploitation technique on modern glibc versions, providing an interactive GDB walkthrough and analyzing its viability with a sandbox environment.

0 favorites 0 likes
#glibc

stack unwinding can lead to leakless code execution

Lobsters Hottest ↗ · 2026-09-21 Cached

The article discusses how stack unwinding using DWARF bytecode in glibc can be exploited for code execution, illustrated through CTF challenges and analysis of thread cancellation in POSIX systems.

0 favorites 0 likes
#glibc

Don't use musl if you care about performance

Hacker News Top ↗ · 2026-08-28 Cached

This article benchmarks musl's performance against glibc, revealing that musl's memory allocator is suboptimal and even with mimalloc, it remains significantly slower. It advises against using musl for performance-sensitive applications.

0 favorites 0 likes
#glibc

Your Rust Service Isn't Leaking — It Could Be the Allocator

Lobsters Hottest ↗ · 2026-07-07 Cached

This article describes a debugging journey where a Rust service's memory remained high under load despite no leaks, due to glibc's ptmalloc allocator not releasing freed memory back to the OS. It explains the allocator behavior and provides insights for Rust developers.

0 favorites 0 likes
#glibc

Platform Support for GNU Extensions to Basic Regular Expressions

Lobsters Hottest ↗ · 2026-06-30 Cached

An article investigating platform support for GNU extensions to Basic Regular Expressions (BRE), specifically the `\+` operator, and finding it works on FreeBSD, macOS, and musl-based distributions like Chimera Linux.

0 favorites 0 likes
#glibc

On C extensions, portability, and alternative compilers

Lobsters Hottest ↗ · 2026-05-25 Cached

This article discusses the practical challenges of writing portable C code due to reliance on non-standard compiler extensions and glibc's conditional headers, illustrating with examples from building a C compiler.

0 favorites 0 likes
#glibc

How cross-thread double free detection could work in glibc malloc

Lobsters Hottest ↗ · 2026-05-20 Cached

This blog post explains the current double free detection mechanism in glibc malloc's per-thread tcache, identifies a flaw that allows cross-thread double frees, and proposes a potential fix using randomized keys per thread.

0 favorites 0 likes
#glibc

Introducing Casuarina Linux: A glibc-Based Chimera Linux Derivative

Lobsters Hottest ↗ · 2026-05-18 Cached

Casuarina Linux is an experimental Linux distribution derived from Chimera Linux, using glibc instead of musl for better binary compatibility with the GNU/Linux ecosystem. It combines an LLVM toolchain, Dinit init system, and apk package manager, currently available for x86_64.

0 favorites 0 likes
← Back to home

Submit Feedback