1MANGLE_PATH(9) The Linux VFS MANGLE_PATH(9)
2
3
4
6 mangle_path - mangle and copy path to buffer beginning
7
9 char * mangle_path(char * s, const char * p, const char * esc);
10
12 s
13 buffer start
14
15 p
16 beginning of path in above buffer
17
18 esc
19 set of characters that need escaping
20
22 Copy the path from p to s, replacing each occurrence of character from
23 esc with usual octal escape. Returns pointer past last written
24 character in s, or NULL in case of failure.
25
27Kernel Hackers Manual 3.10 June 2019 MANGLE_PATH(9)