From: Mike Frysinger <vapier@gentoo.org>
To: ltp-list@lists.sourceforge.net
Cc: Alexey Kodanev <alexey.kodanev@oracle.com>
Subject: Re: [LTP] [PATCH] New core test of hardlinks and symlinks restrictions added in Linux 3.6. Disabled by default in Linux 3.7.
Date: Mon, 6 May 2013 11:55:43 -0400 [thread overview]
Message-ID: <201305061155.44681.vapier@gentoo.org> (raw)
In-Reply-To: <1367833278-18177-1-git-send-email-alexey.kodanev@oracle.com>
[-- Attachment #1.1: Type: Text/Plain, Size: 949 bytes --]
On Monday 06 May 2013 05:41:18 Alexey Kodanev wrote:
> +#define BASE_DIR_NUM (USERS_NUM+1)
spaces around that +
> +#define MAX_ENTITIES (MAX_FILES_CREATED*BASE_DIR_NUM)
spaces around that *
> +static const char *file_postfix = ".hs";
for const strings you don't modify the pointer, use []:
static const char file_postfix[] = ".hs";
> +option_t options[] = {
static, and probably const
> +static int cwd_offset;
you assign the return value of strlen() to this, so it should be size_t
> +static const char *hrdlink_proc_path =
> +static const char *symlink_proc_path =
same thing wrt to * vs []
> +static void setup(int ac, char **av);
please use instead for argv:
char *argv[]
> +int main(int ac, char **av)
same here
> + if (tst_kvercmp(3, 7, 0) < 0) {
> + tst_brkm(TCONF, &cleanup,
> + "Test must be run with kernel 3.7 or newer");
unwrap, or indent the string one more level
-mike
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 383 bytes --]
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2013-05-06 15:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-06 9:41 [LTP] [PATCH] New core test of hardlinks and symlinks restrictions added in Linux 3.6. Disabled by default in Linux 3.7 Alexey Kodanev
2013-05-06 13:47 ` chrubis
[not found] ` <5187D15B.7080106@oracle.com>
2013-05-06 16:42 ` chrubis
2013-05-06 15:55 ` Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-05-07 8:40 Alexey Kodanev
2013-05-07 14:29 ` chrubis
2013-04-30 6:27 Alexey Kodanev
2013-04-30 12:24 ` chrubis
2013-04-30 17:24 ` Mike Frysinger
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=201305061155.44681.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=alexey.kodanev@oracle.com \
--cc=ltp-list@lists.sourceforge.net \
/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