Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Chris Metcalf | aaeb012 | 2011-05-02 16:52:19 -0400 | [diff] [blame] | 2 | #ifdef __NR_rename |
Al Viro | b915543 | 2006-07-01 03:56:16 -0400 | [diff] [blame] | 3 | __NR_rename, |
Chris Metcalf | aaeb012 | 2011-05-02 16:52:19 -0400 | [diff] [blame] | 4 | #endif |
| 5 | #ifdef __NR_mkdir |
Al Viro | b915543 | 2006-07-01 03:56:16 -0400 | [diff] [blame] | 6 | __NR_mkdir, |
Chris Metcalf | aaeb012 | 2011-05-02 16:52:19 -0400 | [diff] [blame] | 7 | #endif |
| 8 | #ifdef __NR_rmdir |
Al Viro | b915543 | 2006-07-01 03:56:16 -0400 | [diff] [blame] | 9 | __NR_rmdir, |
Chris Metcalf | aaeb012 | 2011-05-02 16:52:19 -0400 | [diff] [blame] | 10 | #endif |
Al Viro | a83fbf6 | 2006-09-23 00:10:18 +0100 | [diff] [blame] | 11 | #ifdef __NR_creat |
Al Viro | b915543 | 2006-07-01 03:56:16 -0400 | [diff] [blame] | 12 | __NR_creat, |
Al Viro | a83fbf6 | 2006-09-23 00:10:18 +0100 | [diff] [blame] | 13 | #endif |
Chris Metcalf | aaeb012 | 2011-05-02 16:52:19 -0400 | [diff] [blame] | 14 | #ifdef __NR_link |
Al Viro | b915543 | 2006-07-01 03:56:16 -0400 | [diff] [blame] | 15 | __NR_link, |
Chris Metcalf | aaeb012 | 2011-05-02 16:52:19 -0400 | [diff] [blame] | 16 | #endif |
| 17 | #ifdef __NR_unlink |
Al Viro | b915543 | 2006-07-01 03:56:16 -0400 | [diff] [blame] | 18 | __NR_unlink, |
Chris Metcalf | aaeb012 | 2011-05-02 16:52:19 -0400 | [diff] [blame] | 19 | #endif |
| 20 | #ifdef __NR_symlink |
Al Viro | b915543 | 2006-07-01 03:56:16 -0400 | [diff] [blame] | 21 | __NR_symlink, |
Chris Metcalf | aaeb012 | 2011-05-02 16:52:19 -0400 | [diff] [blame] | 22 | #endif |
| 23 | #ifdef __NR_mknod |
Al Viro | b915543 | 2006-07-01 03:56:16 -0400 | [diff] [blame] | 24 | __NR_mknod, |
Chris Metcalf | aaeb012 | 2011-05-02 16:52:19 -0400 | [diff] [blame] | 25 | #endif |
Al Viro | a83fbf6 | 2006-09-23 00:10:18 +0100 | [diff] [blame] | 26 | #ifdef __NR_mkdirat |
Al Viro | b915543 | 2006-07-01 03:56:16 -0400 | [diff] [blame] | 27 | __NR_mkdirat, |
| 28 | __NR_mknodat, |
| 29 | __NR_unlinkat, |
Palmer Dabbelt | 155d33a | 2017-12-01 11:32:00 -0800 | [diff] [blame] | 30 | #ifdef __NR_renameat |
Al Viro | b915543 | 2006-07-01 03:56:16 -0400 | [diff] [blame] | 31 | __NR_renameat, |
Palmer Dabbelt | 155d33a | 2017-12-01 11:32:00 -0800 | [diff] [blame] | 32 | #endif |
Al Viro | b915543 | 2006-07-01 03:56:16 -0400 | [diff] [blame] | 33 | __NR_linkat, |
| 34 | __NR_symlinkat, |
Al Viro | a83fbf6 | 2006-09-23 00:10:18 +0100 | [diff] [blame] | 35 | #endif |
Steve Grubb | 6e66ec3 | 2017-10-12 23:24:01 -0400 | [diff] [blame] | 36 | #ifdef __NR_renameat2 |
| 37 | __NR_renameat2, |
| 38 | #endif |