yaffs: fix getxattr support

When passed a buffer size of 0, getxattr(2) is documented to return the
size of the attribute value.  However, yaffs returns -ERANGE instead.
This breaks SELinux usage of getxattr.  Fix yaffs to return the
attribute size in this case.

Change-Id: I410e96ad36741b8fd6aef70d0aabc22391c8d5ac
Signed-off-by:  Stephen Smalley <sds@tycho.nsa.gov>
yaffs: set security attribute at file creation

Add support to yaffs to set the security attribute of new inodes when
they are created.  This parallels similar support in other filesystems,
and is a requirement for SELinux and other MAC systems.

Change-Id: I46ffb4f6aabebfa7bd66a502b6d890998b0da08c
Signed-off-by:  Stephen Smalley <sds@tycho.nsa.gov>
Do not ratelimit audit messages. We want to see them all.

Change-Id: I19c29788cc33b0f59e0bdfe04fe67c247239c559
Enable SELinux

Change-Id: I25465effca6aa6f947c49dd1f5e9c74f112beb9c
ramdisk: enable TRIM in lvm

Not sure if the underlying hardware supports it or not, but
enabling it here doesn't hurt

Change-Id: I3c2a8cd72a3e7bf1f260e128f6c55e201fe4ac54
Bump version to 0.401

Change-Id: Id4d3dcdb8c5dd520a3264cffb4ea3db1d38b0025