Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
linux
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
4dd3c95
Documentation
arch
block
crypto
drivers
firmware
fs
include
acpi
asm-generic
bitops
4level-fixup.h
Kbuild.asm
atomic-long.h
atomic.h
atomic64.h
audit_change_attr.h
audit_dir_write.h
audit_read.h
audit_signal.h
audit_write.h
barrier.h
bitops.h
bitsperlong.h
bug.h
bugs.h
cache.h
cacheflush.h
checksum.h
clkdev.h
cmpxchg-local.h
cmpxchg.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-coherent.h
dma-contiguous.h
dma-mapping-broken.h
dma-mapping-common.h
dma.h
emergency-restart.h
exec.h
fb.h
ftrace.h
futex.h
getorder.h
gpio.h
hardirq.h
hw_irq.h
ide_iops.h
int-l64.h
int-ll64.h
io-64-nonatomic-hi-lo.h
io-64-nonatomic-lo-hi.h
io.h
ioctl.h
iomap.h
irq.h
irq_regs.h
irqflags.h
kdebug.h
kmap_types.h
kvm_para.h
libata-portmap.h
linkage.h
local.h
local64.h
memory_model.h
mm_hooks.h
mmu.h
mmu_context.h
module.h
mutex-dec.h
mutex-null.h
mutex-xchg.h
mutex.h
page.h
param.h
parport.h
pci-bridge.h
pci-dma-compat.h
pci.h
pci_iomap.h
percpu.h
pgalloc.h
pgtable-nopmd.h
pgtable-nopud.h
pgtable.h
ptrace.h
resource.h
rtc.h
rwsem.h
scatterlist.h
sections.h
segment.h
serial.h
siginfo.h
signal.h
sizes.h
spinlock.h
statfs.h
string.h
switch_to.h
syscall.h
syscalls.h
termios-base.h
termios.h
timex.h
tlb.h
tlbflush.h
topology.h
trace_clock.h
uaccess-unaligned.h
uaccess.h
unaligned.h
unistd.h
user.h
vga.h
vmlinux.lds.h
word-at-a-time.h
xor.h
clocksource
crypto
drm
keys
linux
math-emu
media
memory
misc
net
pcmcia
ras
rdma
rxrpc
scsi
sound
target
trace
uapi
video
xen
Kbuild
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
REPORTING-BUGS
Breadcrumbs
linux
/
include
/
asm-generic
/
unistd.h
Blame
Blame
Latest commit
History
History
31 lines (29 loc) · 829 Bytes
Breadcrumbs
linux
/
include
/
asm-generic
/
unistd.h
Top
File metadata and controls
Code
Blame
31 lines (29 loc) · 829 Bytes
Raw
#include <uapi/asm-generic/unistd.h> /* * These are required system calls, we should * invert the logic eventually and let them * be selected by default. */ #if __BITS_PER_LONG == 32 #define __ARCH_WANT_STAT64 #define __ARCH_WANT_SYS_LLSEEK #endif #define __ARCH_WANT_SYS_RT_SIGACTION #define __ARCH_WANT_SYS_RT_SIGSUSPEND #define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND /* * "Conditional" syscalls * * What we want is __attribute__((weak,alias("sys_ni_syscall"))), * but it doesn't work on all toolchains, so we just do it by hand */ #ifndef cond_syscall #ifdef CONFIG_SYMBOL_PREFIX #define __SYMBOL_PREFIX CONFIG_SYMBOL_PREFIX #else #define __SYMBOL_PREFIX #endif #define cond_syscall(x) asm(".weak\t" __SYMBOL_PREFIX #x "\n\t" \ ".set\t" __SYMBOL_PREFIX #x "," \ __SYMBOL_PREFIX "sys_ni_syscall") #endif
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
You can’t perform that action at this time.