Punch a hole for renameat(2) for app compat.

This was allowed implicitly until we moved bionic over to renameat2(2)
because that's all riscv64 has. This restores the status quo for the
other architectures (while keeping everyone using renameat2(2) if they
go via bionic, for consistency).

Bug: http://b/254179267
Test: treehugger
Change-Id: Ib7ebfbf043e1be3eca4b64fdf04ee55d6eb31aed
This commit is contained in:
Elliott Hughes 2022-10-21 20:46:46 +00:00
parent b2ced4ca7d
commit f4cace695e
1 changed files with 4 additions and 0 deletions

View File

@ -56,3 +56,7 @@ int compat_select:_newselect(int n, unsigned long* inp, unsigned long* outp, uns
# b/62090571
int mkdir(const char *pathname, mode_t mode) lp32
# Not used by bionic in U because riscv64 doesn't have it, but still
# used by legacy apps (http://b/254179267).
int renameat(int, const char*, int, const char*) arm,x86,arm64,x86-64