fix some indention-with-spaces that crept in
This commit is contained in:
parent
8c0a3d9e5c
commit
c983e6415a
4 changed files with 9 additions and 9 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
#include "syscall.h"
|
#include "syscall.h"
|
||||||
|
|
||||||
int dup3(int old, int new, int flags) {
|
int dup3(int old, int new, int flags) {
|
||||||
int r;
|
int r;
|
||||||
while ((r=__syscall(SYS_dup3, old, new, flags))==-EBUSY);
|
while ((r=__syscall(SYS_dup3, old, new, flags))==-EBUSY);
|
||||||
return __syscall_ret(r);
|
return __syscall_ret(r);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,5 +5,5 @@
|
||||||
|
|
||||||
int setns(int fd, int nstype)
|
int setns(int fd, int nstype)
|
||||||
{
|
{
|
||||||
return syscall(SYS_setns, fd, nstype);
|
return syscall(SYS_setns, fd, nstype);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
.global __set_thread_area
|
.global __set_thread_area
|
||||||
.type __set_thread_area,@function
|
.type __set_thread_area,@function
|
||||||
__set_thread_area:
|
__set_thread_area:
|
||||||
mov %rdi,%rsi /* shift for syscall */
|
mov %rdi,%rsi /* shift for syscall */
|
||||||
movl $0x1002,%edi /* SET_FS register */
|
movl $0x1002,%edi /* SET_FS register */
|
||||||
movl $158,%eax /* set fs segment to */
|
movl $158,%eax /* set fs segment to */
|
||||||
syscall /* arch_prctl(SET_FS, arg)*/
|
syscall /* arch_prctl(SET_FS, arg)*/
|
||||||
ret
|
ret
|
||||||
|
|
|
||||||
|
|
@ -5,5 +5,5 @@
|
||||||
|
|
||||||
int acct(const char *filename)
|
int acct(const char *filename)
|
||||||
{
|
{
|
||||||
return syscall(SYS_acct, filename);
|
return syscall(SYS_acct, filename);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue