public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Glen Johnson <gjohnson@valcom.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd <linux-mtd@lists.infradead.org>,
	KaiGai Kohei <kaigai@ak.jp.nec.com>
Subject: Re: mkfs.jffs2 not compiling, which acl.h?
Date: Thu, 07 Dec 2006 10:56:33 -0500	[thread overview]
Message-ID: <457839B1.9050005@valcom.com> (raw)
In-Reply-To: <1165505164.5253.370.camel@pmac.infradead.org>

David Woodhouse wrote:
> There is something broken about your toolchain if _either_
> <linux/posix_acl.h> or <asm/atomic.h> exist. Those are _not_ headers
> which the kernel exports when you run 'make headers_install' to generate
> the headers for userspace to use. Please make sure you report this
> problem to whoever generated your toolchain.
>   
I am using m68k-uclinux-tools-20060615 used with the uClinux
distribution for embedded systems. 
> Actually, I'm not entirely sure what this code is doing at all -- isn't
> it interpreting on-disk xattrs representing ACLs assuming that they're
> in the same format as ext3 uses? 
I was pointed to this link to answer why ACL is used in mkfs.jffs2.

http://thread.gmane.org/gmane.linux.drivers.mtd/16740/focus=16745

This is an excerpt from the above link.
"The access control list(ACL) enables higher flexible access control
based on UNIX users and groups than traditional user/group/others model.
'--with-xattr' or '--with-posix-acl' options on mkfs.jffs2 enables to
copy the ACLs associated with any files in host environment into jffs2
image file.
The purpose of this feature is improvement of security in embedded region."

This link also describes the compile flag WITHOUT_XATTR=1 which will disable this code.

  reply	other threads:[~2006-12-07 15:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-06 13:56 mkfs.jffs2 not compiling, which acl.h? Glen Johnson
2006-12-06 14:02 ` Ricard Wanderlof
2006-12-06 14:42   ` Glen Johnson
2006-12-06 16:12     ` Ricard Wanderlof
2006-12-07 15:26 ` David Woodhouse
2006-12-07 15:56   ` Glen Johnson [this message]
2006-12-09 16:40   ` KaiGai Kohei
2006-12-10 11:53     ` David Woodhouse

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=457839B1.9050005@valcom.com \
    --to=gjohnson@valcom.com \
    --cc=dwmw2@infradead.org \
    --cc=kaigai@ak.jp.nec.com \
    --cc=linux-mtd@lists.infradead.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