From: Fabian Frederick <fabf@skynet.be>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] selftests : Adding symbolic link limits test script
Date: Sat, 28 Dec 2013 12:37:38 +0800 [thread overview]
Message-ID: <20131228123738.962401ca9282626693aba5bf@skynet.be> (raw)
In-Reply-To: <20131227143822.2b2a8bc448fb7e0800f05f53@linux-foundation.org>
On Fri, 27 Dec 2013 14:38:22 -0800
Andrew Morton <akpm@linux-foundation.org> wrote:
> On Wed, 25 Dec 2013 17:23:10 +0100 Fabian Frederick <fabf@skynet.be> wrote:
>
> > This patch adds fs directory in selftests and a script to explain recursive
> > and consecutive symbolic linking limits who have been debated
> > so many times.
>
> hm, it's a "test" which doesn't really test anything - it always
> succeeds.
>
> Why do you think the kernel needs this?
Thanks for testing Andrew !
As the script states, first loop is trying 10 recursive links but logically stops at 8.
The second one is trying 50 consecutive links but stops at 40.
Those limits are hardcoded values all over the place in vfs namei.c.
btw people have been asking for global definition, sysctl and so on for
years but nothing has changed AFAICS.
This script tries to show the difference between recursive and consecutive symlinking.
Besides this script could be useful for testing specific FS limitation as well.
If you find it useful, I can add some features to be more self-explanatory ...
If it's still not the case let's forget about it :)
Fabian
prev parent reply other threads:[~2013-12-28 12:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-25 16:23 Fabian Frederick
2013-12-27 22:38 ` Andrew Morton
2013-12-28 4:37 ` Fabian Frederick [this message]
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=20131228123738.962401ca9282626693aba5bf@skynet.be \
--to=fabf@skynet.be \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®