diff options
| author | Eugen Wissner <belka@caraus.de> | 2018-08-22 06:59:38 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2018-08-28 20:39:45 +0200 |
| commit | 0fc0aa23f7e715b013cc41eb7abe193eba793843 (patch) | |
| tree | a26e59d96529c81784ded3c9457f3e0a6978a463 /arch | |
| parent | c205c087a40e29bf8079596b21586993de18077f (diff) | |
| download | tanya-0fc0aa23f7e715b013cc41eb7abe193eba793843.tar.gz | |
Add constants and syscall for if_nametoindex
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/x64/linux/syscall.S | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x64/linux/syscall.S b/arch/x64/linux/syscall.S index 3d7f0b8..e69bd30 100644 --- a/arch/x64/linux/syscall.S +++ b/arch/x64/linux/syscall.S @@ -34,6 +34,18 @@ _D5tanya3sys5linux7syscallQiFNbNilllZl: ret +// 3 parameters. + .globl _D5tanya3sys5linux7syscallQiFNbNillllZl + .type _D5tanya3sys5linux7syscallQiFNbNillllZl, @function + +_D5tanya3sys5linux7syscallQiFNbNillllZl: + movq %rcx, %rax + + syscall + + ret + + // 6 parameters. .globl _D5tanya3sys5linux7syscallQiFNbNilllllllZl .type _D5tanya3sys5linux7syscallQiFNbNilllllllZl, @function |
