repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'chrome-platform-for-linus-4.13' of git://git.kernel.org/pub/scm/linux...
[linux/fpc-iii.git]
/
samples
/
bpf
/
syscall_nrs.c
blob
ce2a30b11248fdf66f73c66ca037d24143d70fe5
1
#include <uapi/linux/unistd.h>
2
#include <linux/kbuild.h>
3
4
#define SYSNR(_NR) DEFINE(SYS ## _NR, _NR)
5
6
void
syscall_defines
(
void
)
7
{
8
COMMENT
(
"Linux system call numbers."
);
9
SYSNR
(
__NR_write
);
10
SYSNR
(
__NR_read
);
11
SYSNR
(
__NR_mmap
);
12
}