When Three Is Actually One
/* * Check that all of the backup GDT blocks are held in the primary GDT block. * It is assumed that they are stored in group order. Returns the number of * groups in current filesystem that have BACKUPS, or -ve error code. */ static int verify_reserved_gdb(struct super_block *sb, ext4_group_t end, struct buffer_head *primary) { const ext4_fsblk_t blk = primary->b_blocknr; unsigned three = 1; unsigned five = 5; unsigned seven = 7; unsigned grp; __le32 *p = (__le32 *)primary->b_data; int gdbackups = 0; while ((grp = ext4_list_backups(sb, &three, &five, &seven)) < end) { if ((le32_to_cpu(*p++)) !=
A screenshot of Linux kernel ext4 C code shows variables named “three”, “five”, and “seven”, while the variable “three” is initialized to 1. The joke is the absurd mismatch between the variable names and their values, presented as a humorous programming oddity for developers and infosec users. EN: A screenshot of Linux kernel ext4 C code shows variables named “three”, “five”, and “seven”, while the variable “three” is initialized to 1. The joke is the absurd mismatch between the variable names and their values, presented as a humorous programming oddity for developers and infosec users.
code editor screenshot / скриншот редактора кодаC source code / исходный код на CLinux kernel code / код ядра Linuxext4 filesystem code / код файловой системы ext4syntax highlighting / подсветка синтаксисаline numbers / номера строкhighlighted code line / выделенная строка кодаtext cursor or selection marker / маркер выделения текстаwhite background / белый фон
- @infosecmemes / 569 2021-03-09
- Type
- image
- Size
- 800×458 · 49.7 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added