From: Randy Dunlap <randy.dunlap@oracle.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>,
LKML <linux-kernel@vger.kernel.org>,
trevor.highland@gmail.com, tyhicks@ou.edu
Subject: Re: [PATCH 1/2] eCryptfs: Public key; transport mechanism
Date: Sat, 9 Dec 2006 11:04:16 -0800 [thread overview]
Message-ID: <20061209110416.670170eb.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20061206215555.85d584ca.akpm@osdl.org>
On Wed, 6 Dec 2006 21:55:55 -0800 Andrew Morton wrote:
> On Wed, 6 Dec 2006 17:06:38 -0600
> Michael Halcrow <mhalcrow@us.ibm.com> wrote:
>
> > This is a re-submission of the same public key patches (updated for
> > 2.6.19-rc6-mm2) that were submitted for review a while back.
>
> I made a number of comments last time around, some temperate, some not.
> I trust the temperate ones were addressed?
>
> Is there really no way in which any other kernel subsystem will ever want
> functionality of this nature?
>
> > This is the transport code for public key functionality in
> > eCryptfs. It manages encryption/decryption request queues with a
> > transport mechanism. Currently, netlink is the only implemented
> > transport.
>
> I wouldn't view this as an adequate changelog for this sort of work,
> frankly. Not by a long shot. You've told us very briefly what the patches
> do. You haven't told us why they do it, nor how they do it.
>
> What design decisions went into this? What options were considered and
> eliminated and why? etc.
>
> It's just a great lump of code dumped in our laps.
>
>
> >From a quick scan (and I cannot review in more depth because the code is a
> complete mystery to this reviewer):
>
>
> > + mutex_init(&ecryptfs_msg_ctx_lists_mux);
> > + mutex_lock(&ecryptfs_msg_ctx_lists_mux);
>
> That's a bizarre thing to do. If there's really any other process which
> can take that mutex, the mutex_init() just trashed it. If there is no
> other such process, the mutex_lock() is unneeded. There should never be
> a need to runtime-initialise a static mutex - just use DEFINE_MUTEX.
>
>
> ecryptfs now has a dependency upon netlink. There's no CONFIG_NETLINK. If
> CONFIG_NET=n && CONFIG_ECRYPTFS=y is possible, it won't build.
Then shouldn't ECRYPTFS depend on CONFIG_NET ?
---
~Randy
next prev parent reply other threads:[~2006-12-09 19:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-06 23:06 [PATCH 1/2] eCryptfs: Public key; transport mechanism Michael Halcrow
2006-12-06 23:12 ` [PATCH 2/2] eCryptfs: Public key; packet management Michael Halcrow
2006-12-07 5:57 ` Andrew Morton
2006-12-07 5:55 ` [PATCH 1/2] eCryptfs: Public key; transport mechanism Andrew Morton
2006-12-07 16:06 ` Michael Halcrow
2006-12-09 19:04 ` Randy Dunlap [this message]
2006-12-09 19:21 ` Andrew Morton
2006-12-09 19:50 ` Randy Dunlap
2006-12-12 16:54 ` Michael Halcrow
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=20061209110416.670170eb.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhalcrow@us.ibm.com \
--cc=trevor.highland@gmail.com \
--cc=tyhicks@ou.edu \
/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