You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
alpha: support new syscalls
Some of the new syscalls require supporting TIF_RESTORE_SIGMASK. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
74fd1b687f
commit
b927b3e2c9
@@ -76,12 +76,14 @@ register struct thread_info *__current_thread_info __asm__("$8");
|
||||
#define TIF_UAC_NOFIX 7
|
||||
#define TIF_UAC_SIGBUS 8
|
||||
#define TIF_MEMDIE 9
|
||||
#define TIF_RESTORE_SIGMASK 10 /* restore signal mask in do_signal */
|
||||
|
||||
#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)
|
||||
#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
|
||||
#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
|
||||
#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
|
||||
#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)
|
||||
#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)
|
||||
|
||||
/* Work to do on interrupt/exception return. */
|
||||
#define _TIF_WORK_MASK (_TIF_NOTIFY_RESUME \
|
||||
|
||||
@@ -233,6 +233,20 @@
|
||||
#define __NR_osf_memcntl 260 /* not implemented */
|
||||
#define __NR_osf_fdatasync 261 /* not implemented */
|
||||
|
||||
/*
|
||||
* Ignore legacy syscalls that we don't use.
|
||||
*/
|
||||
#define __IGNORE_alarm
|
||||
#define __IGNORE_creat
|
||||
#define __IGNORE_getegid
|
||||
#define __IGNORE_geteuid
|
||||
#define __IGNORE_getgid
|
||||
#define __IGNORE_getpid
|
||||
#define __IGNORE_getppid
|
||||
#define __IGNORE_getuid
|
||||
#define __IGNORE_pause
|
||||
#define __IGNORE_time
|
||||
#define __IGNORE_utime
|
||||
|
||||
/*
|
||||
* Linux-specific system calls begin at 300
|
||||
@@ -387,10 +401,42 @@
|
||||
#define __NR_inotify_init 444
|
||||
#define __NR_inotify_add_watch 445
|
||||
#define __NR_inotify_rm_watch 446
|
||||
#define __NR_fdatasync 447
|
||||
#define __NR_kexec_load 448
|
||||
#define __NR_migrate_pages 449
|
||||
#define __NR_openat 450
|
||||
#define __NR_mkdirat 451
|
||||
#define __NR_mknodat 452
|
||||
#define __NR_fchownat 453
|
||||
#define __NR_futimesat 454
|
||||
#define __NR_fstatat64 455
|
||||
#define __NR_unlinkat 456
|
||||
#define __NR_renameat 457
|
||||
#define __NR_linkat 458
|
||||
#define __NR_symlinkat 459
|
||||
#define __NR_readlinkat 460
|
||||
#define __NR_fchmodat 461
|
||||
#define __NR_faccessat 462
|
||||
#define __NR_pselect6 463
|
||||
#define __NR_ppoll 464
|
||||
#define __NR_unshare 465
|
||||
#define __NR_set_robust_list 466
|
||||
#define __NR_get_robust_list 467
|
||||
#define __NR_splice 468
|
||||
#define __NR_sync_file_range 469
|
||||
#define __NR_tee 470
|
||||
#define __NR_vmsplice 471
|
||||
#define __NR_move_pages 472
|
||||
#define __NR_getcpu 473
|
||||
#define __NR_epoll_pwait 474
|
||||
#define __NR_utimensat 475
|
||||
#define __NR_signalfd 476
|
||||
#define __NR_timerfd 477
|
||||
#define __NR_eventfd 478
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#define NR_SYSCALLS 447
|
||||
#define NR_SYSCALLS 479
|
||||
|
||||
#define __ARCH_WANT_IPC_PARSE_VERSION
|
||||
#define __ARCH_WANT_OLD_READDIR
|
||||
|
||||
Reference in New Issue
Block a user