aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2021-01-21 14:19:21 +0100
committerChristian Brauner <christian.brauner@ubuntu.com>2021-01-24 14:27:15 +0100
commite6c9a71451560edba343cbcbd500bea0a188f0d1 (patch)
tree689f45bcb86d6d18f8b874e9b1e9e48d8b4d9ef8 /scripts/patch-kernel
parentmount: attach mappings to mounts (diff)
downloadlinux-e6c9a71451560edba343cbcbd500bea0a188f0d1.tar.gz
linux-e6c9a71451560edba343cbcbd500bea0a188f0d1.zip
fs: add id translation helpers
Add simple helpers to make it easy to map kuids into and from idmapped mounts. We provide simple wrappers that filesystems can use to e.g. initialize inodes similar to i_{uid,gid}_read() and i_{uid,gid}_write(). Accessing an inode through an idmapped mount maps the i_uid and i_gid of the inode to the mount's user namespace. If the fsids are used to initialize inodes they are unmapped according to the mount's user namespace. Passing the initial user namespace to these helpers makes them a nop and so any non-idmapped paths will not be impacted. Link: https://lore.kernel.org/r/20210121131959.646623-3-christian.brauner@ubuntu.com Cc: David Howells <dhowells@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: linux-fsdevel@vger.kernel.org Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
/drivers/net/wireless/rt2x00/rt2x00dev.c?id=e2bc7c5f3cb8756865aa0ab140d2288f61599dda&follow=1'>rt2x00: Fix rfkill_polling register function.Chen, Chien-Chia1-5/+1 2012-04-10bcma: fix build error on MIPS; implicit pcibios_enable_devicePaul Gortmaker2-1/+2 2012-04-09net/wireless/wext-core.c: add missing kfreeJulia Lawall1-2/+4 2012-04-09rtlwifi: Fix oops on rate-control failureLarry Finger1-1/+4 2012-04-09mac80211: Convert WARN_ON to WARN_ON_ONCELarry Finger1-1/+1 2012-04-09rtlwifi: rtl8192de: Fix firmware initializationLarry Finger1-6/+0 2012-04-09nl80211: ensure interface is up in various APIsJohannes Berg1-13/+18 2012-04-09mac80211: fix association beacon wait timeoutJohannes Berg1-2/+1 2012-04-06Make the "word-at-a-time" helper functions more commonly usableLinus Torvalds2-32/+49 2012-04-06net: fix a race in sock_queue_err_skb()Eric Dumazet1-1/+3 2012-04-06netlink: fix races after skb queueingEric Dumazet1-11/+13 2012-04-06doc, net: Update ndo_start_xmit return type and valuesBen Hutchings1-10/+12 2012-04-06doc, net: Remove instruction to set net_device::trans_startBen Hutchings1-5/+2 2012-04-06doc, net: Update netdev operation namesBen Hutchings2-14/+14 2012-04-06doc, net: Update documentation of synchronisation for TX multiqueueBen Hutchings1-3/+3 2012-04-06doc, net: Remove obsolete reference to dev->pollBen Hutchings1-2/+1 2012-04-06ethtool: Remove exception to the requirement of holding RTNL lockBen Hutchings1-2/+1 2012-04-06blackfin: update defconfig for bf527-ezkitBob Liu1-0/+1 2012-04-06blackfin: gpio: fix compile error if !CONFIG_GPIOLIBBob Liu1-2/+12 2012-04-06blackfin: fix L1 data A overflow link issueMike Frysinger1-1/+1 2012-04-05MAINTAINERS: update for Marvell Ethernet driversstephen hemminger1-12/+7 2012-04-05bonding: properly unset current_arp_slave on slave link upVeaceslav Falico1-1/+5 2012-04-05phonet: Check input from user before allocatingSasha Levin1-0/+3 2012-04-05tcp: tcp_sendpages() should call tcp_push() onceEric Dumazet4-6/+9 2012-04-05memcg swap: use mem_cgroup_uncharge_swap fixMichal Hocko1-7/+7 2012-04-05backlight: add driver for DA9052/53 PMIC v1Ashish Jangam3-0/+194 2012-04-05C6X: use set_current_blocked() and block_sigmask()Matt Fleming1-13/+3 2012-04-05MAINTAINERS: add entry for sparse checkerChristopher Li1-0/+9 2012-04-05MAINTAINERS: fix REMOTEPROC F: typoJoe Perches1-1/+1 2012-04-05alpha: use set_current_blocked() and block_sigmask()Matt Fleming1-21/+10 2012-04-05simple_open: automatically convert to simple_open()Stephen Boyd63-572/+176