From: Igor Zhbanov <izh1979@gmail.com>
To: THOBY Simon <Simon.THOBY@viveris.fr>
Cc: Igor Zhbanov <i.zhbanov@omp.ru>,
linux-integrity <linux-integrity@vger.kernel.org>,
linux-security-module <linux-security-module@vger.kernel.org>,
Mimi Zohar <zohar@linux.ibm.com>
Subject: Re: [PATCH 1/1] NAX LSM: Add initial support support
Date: Fri, 13 Aug 2021 23:10:47 +0300 [thread overview]
Message-ID: <CAEUiM9NnimMa2V2xN80kMox9gyOtUqhtPV1OPK3Ea83+JkxPpQ@mail.gmail.com> (raw)
In-Reply-To: <d97d7fdb-1676-9670-6cf5-2427f780ec6f@viveris.fr>
Hi Simon,
ср, 28 июл. 2021 г. в 13:19, THOBY Simon <Simon.THOBY@viveris.fr>:
> The kernel style guide mandates that all variables are only defined at the beggining of the
> function, and not at the beggining of any block like C89.
I've checked the kernel coding style and couldn't find anything about
variables definition
place. Could you, please, point me to the requirement?
Scoping variables declaration makes the code better and more secure.
Besides, I've checked the kernel sources and see many examples of that.
Thank you.
next prev parent reply other threads:[~2021-08-13 20:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-07 1:03 [PATCH 1/1] NAX LSM: Add initial support support Igor Zhbanov
2021-07-28 10:19 ` THOBY Simon
2021-08-10 4:52 ` J Freyensee
2021-08-12 14:47 ` THOBY Simon
2021-08-12 16:43 ` Igor Zhbanov
2021-08-13 8:08 ` THOBY Simon
2021-08-14 13:39 ` Igor Zhbanov
2021-08-16 7:39 ` THOBY Simon
2021-08-12 20:24 ` Igor Zhbanov
2021-08-13 7:47 ` THOBY Simon
2021-08-13 8:05 ` Igor Zhbanov
2021-08-13 8:23 ` THOBY Simon
2021-08-13 20:10 ` Igor Zhbanov [this message]
2021-08-16 7:31 ` THOBY Simon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAEUiM9NnimMa2V2xN80kMox9gyOtUqhtPV1OPK3Ea83+JkxPpQ@mail.gmail.com \
--to=izh1979@gmail.com \
--cc=Simon.THOBY@viveris.fr \
--cc=i.zhbanov@omp.ru \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=zohar@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).