linux/arch/arc/kernel
Amir Goldstein 08582d678f
fs: create helper file_user_path() for user displayed mapped file path
Overlayfs uses backing files with "fake" overlayfs f_path and "real"
underlying f_inode, in order to use underlying inode aops for mapped
files and to display the overlayfs path in /proc/<pid>/maps.

In preparation for storing the overlayfs "fake" path instead of the
underlying "real" path in struct backing_file, define a noop helper
file_user_path() that returns f_path for now.

Use the new helper in procfs and kernel logs whenever a path of a
mapped file is displayed to users.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/r/20231009153712.1566422-3-amir73il@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
2023-10-19 11:03:15 +02:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
arc_hostlink.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
arcksyms.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
asm-offsets.c ARC: pt_regs: create seperate type for ecr 2023-08-18 10:30:47 -07:00
ctx_sw_asm.S ARC: __switch_to: move ksp to thread_info from thread_struct 2023-08-17 20:31:59 -07:00
devtree.c ARC: -Wmissing-prototype warning fixes 2023-08-13 16:53:02 -07:00
disasm.c ARC: disasm: handle ARCv2 case in kprobe get/set functions 2022-04-26 09:34:42 -07:00
entry-arcv2.S ARC: entry: Add more common chores to EXCEPTION_PROLOGUE 2023-08-18 10:30:07 -07:00
entry-compact.S ARC: entry: Add more common chores to EXCEPTION_PROLOGUE 2023-08-18 10:30:07 -07:00
entry.S ARC: entry: Add more common chores to EXCEPTION_PROLOGUE 2023-08-18 10:30:07 -07:00
fpu.c ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch 2021-08-03 18:58:33 -07:00
head.S ARC: [plat-hsdk] Remap CCMs super early in asm boot trampoline 2020-11-02 11:45:09 -08:00
intc-arcv2.c ARC: -Wmissing-prototype warning fixes 2023-08-13 16:53:02 -07:00
intc-compact.c arch/arc/kernel/: fix misspellings using codespell tool 2021-08-24 14:25:46 -07:00
irq.c irq: arc: avoid CONFIG_HANDLE_DOMAIN_IRQ 2021-10-25 10:05:28 +01:00
jump_label.c jump_label: make initial NOP patching the special case 2022-06-24 09:48:55 +02:00
kgdb.c ARC: pt_regs: create seperate type for ecr 2023-08-18 10:30:47 -07:00
kprobes.c kprobes: treewide: Make it harder to refer kretprobe_trampoline directly 2021-09-30 21:24:06 -04:00
Makefile ARC: __switch_to: asm with dwarf ops (vs. inline asm) 2023-08-17 20:31:59 -07:00
mcip.c ARC: boot log: eliminate struct cpuinfo_arc #3: don't export 2023-08-17 20:31:59 -07:00
module.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
perf_event.c arc: perf: Move static structs to where they're really used 2021-12-28 19:48:49 -08:00
process.c ARC: __switch_to: move ksp to thread_info from thread_struct 2023-08-17 20:31:59 -07:00
ptrace.c ARC: pt_regs: create seperate type for ecr 2023-08-18 10:30:47 -07:00
reset.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
setup.c ARC: boot log: fix warning 2023-08-23 22:36:19 -07:00
signal.c ARC: -Wmissing-prototype warning fixes 2023-08-13 16:53:02 -07:00
smp.c ARC: -Wmissing-prototype warning fixes 2023-08-13 16:53:02 -07:00
stacktrace.c ARC: -Wmissing-prototype warning fixes 2023-08-13 16:53:02 -07:00
sys.c ARC: wireup clone3 syscall 2020-01-15 16:08:12 -08:00
traps.c ARC: pt_regs: create seperate type for ecr 2023-08-18 10:30:47 -07:00
troubleshoot.c fs: create helper file_user_path() for user displayed mapped file path 2023-10-19 11:03:15 +02:00
unaligned.c ARC: fix typos in comments 2022-04-18 12:20:23 -07:00
unwind.c module: replace module_layout with module_memory 2023-03-09 12:55:15 -08:00
vmlinux.lds.S objtool/idle: Validate __cpuidle code as noinstr 2023-01-13 11:48:15 +01:00