We went and named them __NR_sys_foo instead of __NR_foo. It may be too late to change this, but we can at least add the proper names now.
Unified · Split
| @@ -342,9 +342,14 @@ · 341 unmodified lines | ||
| 342 | 342 | #define __NR_io_cancel 402 |
| 343 | 343 | #define __NR_exit_group 405 |
| 344 | 344 | #define __NR_lookup_dcookie 406 |
| 345 | −#define __NR_sys_epoll_create 407 | |
| 346 | −#define __NR_sys_epoll_ctl 408 | |
| 347 | −#define __NR_sys_epoll_wait 409 | |
| 345 | +#define __NR_epoll_create 407 | |
| 346 | +#define __NR_epoll_ctl 408 | |
| 347 | +#define __NR_epoll_wait 409 | |
| 348 | +/* Feb 2007: These three sys_epoll defines shouldn't be here but culling | |
| 349 | + * them would break userspace apps ... we'll kill them off in 2010 :) */ | |
| 350 | +#define __NR_sys_epoll_create __NR_epoll_create | |
| 351 | +#define __NR_sys_epoll_ctl __NR_epoll_ctl | |
| 352 | +#define __NR_sys_epoll_wait __NR_epoll_wait | |
| 348 | 353 | #define __NR_remap_file_pages 410 |
| 349 | 354 | #define __NR_set_tid_address 411 |
| 350 | 355 | #define __NR_restart_syscall 412 |