[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120322162825.GA4028@thunk.org>
Date: Thu, 22 Mar 2012 12:28:25 -0400
From: Ted Ts'o <tytso@....edu>
To: Artem Bityutskiy <dedekind1@...il.com>
Cc: Thierry Reding <thierry.reding@...onic-design.de>,
Jan Kara <jack@...e.cz>, linux-kernel@...r.kernel.org,
Al Viro <viro@...iv.linux.org.uk>, linux-ext4@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] ext2: Don't export ext2_mask_flags() to user space
On Thu, Mar 22, 2012 at 08:00:41AM +0200, Artem Bityutskiy wrote:
> On Thu, 2012-03-22 at 06:53 +0100, Thierry Reding wrote:
> > What's the recommended fix for packages that cannot or will not use
> > libext2fs, like busybox? Copy the required parts into a private header
> > and use that instead?
>
> The normal way is to just keep a private copy of the whole header file.
> Because the on-disk format stays compatible, those programs do not have
> to update the header very often - only rarely if they want to support
> some new feature.
Even if they're not iwlling to use libext2fs (for space reasons, I
would assume? It can't be because of license compatibility issues
since they are both GPLv2), they could just simply grab the ext2_fs.h
from e2fsprogs. That has all of the file system definitions for ext2,
ext3, and ext4.
Regards,
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists