Anatomy of kpatch

kpatch: dynamic kernel patching A feature of the Linux kernel (mainline: livepatch) Live patching of a running kernel Apply critical security patches Without rebooting or restarting any processes Give more...

Analyze container_of and offsetof

container_of and offsetof are frequently used in kernel code. If we declare a structrue variable somewhere and know the pointer of the structure’s member, we can access the structure variable...

Hello, Rust!

Rust A language empowering everyone to build reliable and efficient software. Rust is powerful programming language in terms of Performance, Reliality, Productivity. In other words, Rust is a memory-safe language....

The rule of five/zero

C++11부터 이동 생성자, 이동 대입 연산자를 지원함에 따라 컴파일러가 자동으로 생성해 주는 함수(Compiler-generated Functions, 이하 CGF)들이 늘어 났다. 본 글에서는 5가지의 CGF를 작성하는 규칙에 관한 내용이다. 5-CGF destructor copy constructor...

Integer overflow

In computer programming, an integer overflow occurs when an arithmetic operation attempts to create a numeric value that is outside of the range that can be represented with a given...