-
Tim Gardner committed
Mar 26, 2013 Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: [packaging] Rename from linaro to nexus7 -- part 2
Andy Whitcroft committed with Tim GardnerMar 20, 2013 Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
UBUNTU: [packaging] Rename from linaro to nexus7
Tim Gardner committedMar 19, 2013 Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
Rebased against git://phablet.ubuntu.com/CyanogenMod/android_kernel_a…
Tim Gardner committedFeb 28, 2013 …sus_grouper.git phablet-10.1 Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: ubuntu: overlayfs -- overlayfs: apply device cgroup and secur…
Andy Whitcroft committed with Tim GardnerJan 17, 2012 …ity permissions to overlay files When checking permissions on an overlayfs inode we do not take into account either device cgroup restrictions nor security permissions. This allows a user to mount an overlayfs layer over a restricted device directory and by pass those permissions to open otherwise restricted files. Use devcgroup_inode_permission() and security_inode_permission() against the underlying inodes when calculating ovl_permission(). CVE-2012-0055 BugLink: http://bugs.launchpad.net/bugs/915941 BugLink: http://bugs.launchpad.net/bugs/918212 Signed-off-by: Andy Whitcroft <apw@canonical.com> (cherry picked from commit 59aa87f) BugLink: http://bugs.launchpad.net/bugs/1076317 Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: ubuntu: overlayfs -- fs: limit filesystem stacking depth
Miklos Szeredi committed with Tim GardnerDec 21, 2011 Add a simple read-only counter to super_block that indicates deep this is in the stack of filesystems. Previously ecryptfs was the only stackable filesystem and it explicitly disallowed multiple layers of itself. Overlayfs, however, can be stacked recursively and also may be stacked on top of ecryptfs or vice versa. To limit the kernel stack usage we must limit the depth of the filesystem stack. Initially the limit is set to 2. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andy Whitcroft <apw@canonical.com> (cherry picked from commit 69c1565) BugLink: http://bugs.launchpad.net/bugs/1076317 Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: ubuntu: overlayfs -- overlay: overlay filesystem documentation
Document the overlay filesystem. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andy Whitcroft <apw@canonical.com> (cherry picked from commit 066717f) BugLink: http://bugs.launchpad.net/bugs/1076317 Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: ubuntu: overlayfs -- overlayfs: implement show_options
This is useful because of the stacking nature of overlayfs. Users like to find out (via /proc/mounts) which lower/upper directory were used at mount time. [apw@canonical.com: backport to v3.2] Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andy Whitcroft <apw@canonical.com> (cherry picked from commit 70d85b8) BugLink: http://bugs.launchpad.net/bugs/1076317 Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: ubuntu: overlayfs -- overlayfs: add statfs support
Andy Whitcroft committed with Tim GardnerOct 1, 2010 Add support for statfs to the overlayfs filesystem. As the upper layer is the target of all write operations assume that the space in that filesystem is the space in the overlayfs. There will be some inaccuracy as overwriting a file will copy it up and consume space we were not expecting, but it is better than nothing. Use the upper layer dentry and mount from the overlayfs root inode, passing the statfs call to that filesystem. Signed-off-by: Andy Whitcroft <apw@canonical.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andy Whitcroft <apw@canonical.com> (cherry picked from commit 3a375b0) BugLink: http://bugs.launchpad.net/bugs/1076317 Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: ubuntu: overlayfs -- overlay filesystem
Miklos Szeredi committed with Tim GardnerDec 21, 2011 Overlayfs allows one, usually read-write, directory tree to be overlaid onto another, read-only directory tree. All modifications go to the upper, writable layer. This type of mechanism is most often used for live CDs but there's a wide variety of other uses. The implementation differs from other "union filesystem" implementations in that after a file is opened all operations go directly to the underlying, lower or upper, filesystems. This simplifies the implementation and allows native performance in these cases. The dentry tree is duplicated from the underlying filesystems, this enables fast cached lookups without adding special support into the VFS. This uses slightly more memory than union mounts, but dentries are relatively small. Currently inodes are duplicated as well, but it is a possible optimization to share inodes for non-directories. Opening non directories results in the open forwarded to the underlying filesystem. This makes the behavior very similar to union mounts (with the same limitations vs. fchmod/fchown on O_RDONLY file descriptors). Usage: mount -t overlay -olowerdir=/lower,upperdir=/upper overlay /mnt Supported: - all operations Missing: - Currently a crash in the middle of copy-up, rename, unlink, rmdir or create over a whiteout may result in filesystem corruption on the overlay level. IOW these operations need to become atomic or at least the corruption needs to be detected. The following cotributions have been folded into this patch: Neil Brown <neilb@suse.de>: - minimal remount support - use correct seek function for directories - initialise is_real before use - rename ovl_fill_cache to ovl_dir_read Felix Fietkau <nbd@openwrt.org>: - fix a deadlock in ovl_dir_read_merged - fix a deadlock in ovl_remove_whiteouts Erez Zadok <ezk@fsl.cs.sunysb.edu> - fix cleanup after WARN_ON Sedat Dilek <sedat.dilek@googlemail.com> - fix up permission to confirm to new API Also thanks to the following people for testing and reporting bugs: Jordi Pujol <jordipujolp@gmail.com> Andy Whitcroft <apw@canonical.com> Michal Suchanek <hramrach@centrum.cz> Felix Fietkau <nbd@openwrt.org> Erez Zadok <ezk@fsl.cs.sunysb.edu> Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andy Whitcroft <apw@canonical.com> (cherry picked from commit df1d75d) BugLink: http://bugs.launchpad.net/bugs/1076317 Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: ubuntu: overlayfs -- vfs: introduce clone_private_mount()
Miklos Szeredi committed with Tim GardnerDec 21, 2011 Overlayfs needs a private clone of the mount, so create a function for this and export to modules. [apw@canonical.com: backport to v3.2] Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andy Whitcroft <apw@canonical.com> (cherry picked from commit d99f0ad) BugLink: http://bugs.launchpad.net/bugs/1076317 Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: ubuntu: overlayfs -- vfs: export do_splice_direct() to modules
Miklos Szeredi committed with Tim GardnerDec 21, 2011 Export do_splice_direct() to modules. Needed by overlay filesystem. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andy Whitcroft <apw@canonical.com> (cherry picked from commit 769a52d) BugLink: http://bugs.launchpad.net/bugs/1076317 Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: ubuntu: overlayfs -- vfs: add i_op->open()
Miklos Szeredi committed with Tim GardnerDec 21, 2011 Add a new inode operation i_op->open(). This is for stacked filesystems that want to return a struct file from a different filesystem. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andy Whitcroft <apw@canonical.com> (cherry picked from commit f8d4214) BugLink: http://bugs.launchpad.net/bugs/1076317 Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: ubuntu: overlayfs -- vfs: pass struct path to __dentry_open()
Miklos Szeredi committed with Tim GardnerDec 21, 2011 Make __dentry_open() take a struct path instead of separate vfsmount and dentry arguments. Change semantics as well, so that __dentry_open() acquires a reference to path instead of transferring it to the open file. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andy Whitcroft <apw@canonical.com> (cherry picked from commit 69718d6) BugLink: http://bugs.launchpad.net/bugs/1076317 Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: SAUCE: compilation fix for missing symbols
Paolo Pisati committed with Tim GardnerMar 13, 2013 This commit is actually part of commit 3f7b867 Author: Andy Whitcroft <apw@canonical.com> Date: Thu Jan 5 14:28:31 2012 +0000 UBUNTU: ubuntu: AUFS -- aufs3-standalone.patch in P/master, i picked only the relevant EXPORT_SYMBOL(). BugLink: http://bugs.launchpad.net/bugs/1076317 Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: [Config] OVERLAYFS_FS=m
Paolo Pisati committed with Tim GardnerMar 11, 2013 BugLink: http://bugs.launchpad.net/bugs/1076317 Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
UBUNTU: [Config] rebase against phablet-10.1, config updates for phab…
Tim Gardner committedFeb 27, 2013 …let image Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
Tim Gardner committed
Feb 27, 2013 Ignore: yes Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
Tim Gardner committed
Feb 27, 2013 Ignore: yes Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
Tim Gardner committed
Feb 19, 2013 Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
Tim Gardner committed
Feb 19, 2013 Ignore: yes Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-
Andy Whitcroft committed with Tim Gardner
Feb 4, 2013 Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
ASoC: Disable "Register Control" for RT5640
David Henningsson committed with Tim GardnerFeb 4, 2013 This debug register interfers with alsactl, making a store/restore cycle potentially cause a codec reset. BugLink: https://bugs.launchpad.net/bugs/1068804 Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
UBUNTU: SAUCE: tegra -- quiet cpu start messages when system running …
Andy Whitcroft committed with Tim GardnerFeb 4, 2013 …normally BugLink: http://bugs.launchpad.net/bugs/1113396 Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
UBUNTU: SAUCE: (no-up) quiet CPU start/stop when system running normally
Andy Whitcroft committed with Tim GardnerFeb 4, 2013 BugLink: http://bugs.launchpad.net/bugs/1113396 Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
UBUNTU: SAUCE: cpu-tegra3: reduce noise waking and sleeping CPUs
Andy Whitcroft committed with Tim GardnerFeb 4, 2013 When using the interactive scheduler we constantly online and offline cpus. This triggers a heap of logging which then has to be flushed to syslog. BugLink: http://bugs.launchpad.net/bugs/1113396 Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
UBUNTU: SAUCE: (no-up) quiet down stop_machine when running normally
Andy Whitcroft committed with Tim GardnerFeb 4, 2013 BugLink: http://bugs.launchpad.net/bugs/1113396 Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
Andy Whitcroft committed with Tim Gardner
Feb 4, 2013 Ignore: yes Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
Andy Whitcroft committed with Tim Gardner
Jan 31, 2013 Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
UBUNTU: SAUCE: power: bq27541_driver - Add charge_full, charge_full_d…
…esign Signed-off-by: Alex Hornung <alex@alexhornung.com> Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
UBUNTU: SAUCE: power: bq27541_battery - fix units of energy_now
* Turns out the datasheet is just plain wrong in saying that energy_now is in units of 10 mWh, it's in mWh. Signed-off-by: Alex Hornung <alex@alexhornung.com> Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
Andy Whitcroft committed with Tim Gardner
Jan 31, 2013 Ignore: yes Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
Andy Whitcroft committed with Tim Gardner
Jan 30, 2013 Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
UBUNTU: [Config] switch from USB_G_SERIAL to USB_CDC_COMPOSITE
Andy Whitcroft committed with Tim GardnerJan 30, 2013 Switch from USB_G_SERIAL to USB_CDC_COMPOSITE this gives us both a serial port and a network interface. Signed-off-by: Andy Whitcroft <apw@canonical.com>
-
UBUNTU: SAUCE: power: bq27541_battery - Provide current_now
* While the datasheet mentions the value is an average current, reality is that it's an average over a second or two, making it perfectly suitable for current_now. * NOTE: the raw current from the device is signed: negative is discharge current, positive is charge current. Don't think we care much about that, since the direction can be determined via the status node, so report the absolute value. Signed-off-by: Alex Hornung <alex@alexhornung.com> This fix offers additional values from the fuel guage which would potentially allow upowerd to switch to a more sensible interface and possibly produce more accurate estimates of battery life. BugLink: http://bugs.launchpad.net/bugs/1093543 Signed-off-by: Andy Whitcroft <apw@canonical.com>