clean up kernel_{read,write} & friends v2

Casey Schaufler casey at schaufler-ca.com
Thu May 28 21:20:43 UTC 2020


On 5/28/2020 1:17 PM, David Howells wrote:
> Linus Torvalds <torvalds at linux-foundation.org> wrote:
>
>> Or maybe make it check for something more reasonable, like 100 characters.
> Yes please!

No, thank you!

C is a symbolic language, not a text language. Encouraging newbies to declare

	int iterator;

instead of

	int i;

does the language a disservice.

It's true, nobody uses a TTY33 anymore. Those of us who have done so
understand how "{" is preferable to "BEGIN" and why tabs are better than
multiple spaces. A narrow "terminal" requires less neck and mouse movement.
Any width limit is arbitrary, so to the extent anyone might care, I advocate
80 forever.

> David
>




More information about the Linux-security-module-archive mailing list