From: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
To: "Igor Druzhinin" <jaxbrigs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: <linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
<dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: Build infrastructure for storing NTLM creds in kernel keyring
Date: Thu, 5 Aug 2010 14:03:29 -0400 [thread overview]
Message-ID: <20100805140329.069baa41@barsoom.rdu.redhat.com> (raw)
In-Reply-To: <9EE2EFBFF2304A849754EEE0F1C1CE29-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
On Thu, 5 Aug 2010 19:43:57 +0400
"Igor Druzhinin" <jaxbrigs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > First, it looks like there are some problems with newlines. The new
> > files that were added seem to have CR+LF line terminators. There are
> > also quite a few whitespace problems in there -- spaces leading tabs,
> > etc. In general, we follow kernel coding style with cifs-utils, so
> > running your patches through checkpatch.pl in the kernel sources is a
> > good idea.
>
> Checked and patched.
>
> > Also, I don't see much need for the MULTI_LANG ifdef's. Is there any
> > reason not to make it always use MULTI_LANG? If so, I'd remove the code
> > that's ifdef'ed out.
>
> Now I am still not sure of the correctness of my strategy of
> internationalization. MULTI_LANG ifdef's will help me to correct necessary
> sites in case of its change.
>
Fair enough then...
> > There are also several routines that seem to already be in libc. For
> > instance, wstrtolower seems to do the same thing as towlower. I'd
> > suggest using libc routines rather than rolling your own where possible.
>
> As I saw in the GNU libc documentation there is no routines for conversion
> string to lowercase.
>
Ahh you're correct -- towlower only operates on a single character.
> > That memcmp is going to walk off the end of "add". Depending on how the
> > memory is allocated, it could segfault.
>
> Patched.
>
I pulled down your latest code and it doesn't appear to be patched. Am
I missing something?
--
Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
next prev parent reply other threads:[~2010-08-05 18:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CC75E34383A8445493DD41AF4F7E7857@lan.jax.org.ru>
[not found] ` <20100721100503.672a735e@tlielax.poochiereds.net>
[not found] ` <9DFCDE0105DF4B70AEA82A8A2B2A2A94@lan.jax.org.ru>
[not found] ` <20100722093121.4c64b102@barsoom.rdu.redhat.com>
2010-07-29 13:52 ` Build infrastructure for storing NTLM creds in kernel keyring Igor Druzhinin
[not found] ` <54DA210795E649C1A62B5E10BF366BB3-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-08-04 11:31 ` Jeff Layton
2010-08-05 15:43 ` Igor Druzhinin
[not found] ` <9EE2EFBFF2304A849754EEE0F1C1CE29-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-08-05 18:03 ` Jeff Layton [this message]
2010-08-05 18:48 ` Igor Druzhinin
[not found] ` <583072918FF1484C9380D991E5A4E83C-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-08-05 20:12 ` Jeff Layton
2010-07-08 16:14 Igor Druzhinin
[not found] ` <469B064927F7461992FFB15852A3B90F-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-07-08 16:59 ` Jeff Layton
2010-07-08 17:28 ` Igor Druzhinin
[not found] ` <7E471FB7A6424D8595FEB4122BC8E0BA-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-07-08 18:04 ` Jeff Layton
2010-07-09 8:54 ` Igor Druzhinin
[not found] <20100430091431.624ee020@tlielax.poochiereds.net>
[not found] ` <EB4CC79E8F0546FF8AFBFD746C856421@lan.jax.org.ru>
[not found] ` <20100525121037.219129da@corrin.poochiereds.net>
[not found] ` <2AF95C52855747BABAE21349F35C773E@lan.jax.org.ru>
[not found] ` <20100601074406.5b8f7a87@tlielax.poochiereds.net>
[not found] ` <73A4A0D322484441A6CEF0FE91E5D263@lan.jax.org.ru>
[not found] ` <73A4A0D322484441A6CEF0FE91E5D263-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-06-25 20:16 ` Jeff Layton
2010-07-06 10:04 ` Igor Druzhinin
[not found] ` <C3BD4CBCCAD04D9EA6E04D3B157A69A4-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-07-06 11:00 ` Jeff Layton
[not found] ` <20100706070056.0b37e3d3-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2010-07-06 11:09 ` Jeff Layton
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=20100805140329.069baa41@barsoom.rdu.redhat.com \
--to=jlayton-eunubhrolfbytjvyw6ydsg@public.gmane.org \
--cc=dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=jaxbrigs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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