Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
d203ae95
Commit
d203ae95
authored
Aug 17, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: remove some unimplemented syscalls
parent
20bbb79d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
82 deletions
+14
-82
arch/ppc64/kernel/misc.S
arch/ppc64/kernel/misc.S
+9
-9
arch/ppc64/kernel/sys_ppc32.c
arch/ppc64/kernel/sys_ppc32.c
+0
-49
arch/ppc64/kernel/syscalls.c
arch/ppc64/kernel/syscalls.c
+5
-24
No files found.
arch/ppc64/kernel/misc.S
View file @
d203ae95
...
@@ -605,7 +605,7 @@ _GLOBAL(sys_call_table32)
...
@@ -605,7 +605,7 @@ _GLOBAL(sys_call_table32)
.
llong
.
sys_ni_syscall
/*
old
profil
syscall
holder
*/
.
llong
.
sys_ni_syscall
/*
old
profil
syscall
holder
*/
.
llong
.
sys32_statfs
.
llong
.
sys32_statfs
.
llong
.
sys32_fstatfs
/*
100
*/
.
llong
.
sys32_fstatfs
/*
100
*/
.
llong
.
sys
32_ioperm
.
llong
.
sys
_ni_syscall
/*
old
ioperm
syscall
holder
*/
.
llong
.
sys32_socketcall
.
llong
.
sys32_socketcall
.
llong
.
sys32_syslog
.
llong
.
sys32_syslog
.
llong
.
sys32_setitimer
.
llong
.
sys32_setitimer
...
@@ -614,10 +614,10 @@ _GLOBAL(sys_call_table32)
...
@@ -614,10 +614,10 @@ _GLOBAL(sys_call_table32)
.
llong
.
sys32_newlstat
.
llong
.
sys32_newlstat
.
llong
.
sys32_newfstat
.
llong
.
sys32_newfstat
.
llong
.
sys_uname
.
llong
.
sys_uname
.
llong
.
sys
32_iopl
/*
110
*/
.
llong
.
sys
_ni_syscall
/*
110
old
iopl
syscall
holder
*/
.
llong
.
sys_vhangup
.
llong
.
sys_vhangup
.
llong
.
sys_ni_syscall
/*
old
'idle'
syscall
*/
.
llong
.
sys_ni_syscall
/*
old
'idle'
syscall
*/
.
llong
.
sys
32_vm86
.
llong
.
sys
_ni_syscall
/*
old
vm86
syscall
holder
*/
.
llong
.
sys32_wait4
.
llong
.
sys32_wait4
.
llong
.
sys_swapoff
/*
115
*/
.
llong
.
sys_swapoff
/*
115
*/
.
llong
.
sys32_sysinfo
.
llong
.
sys32_sysinfo
...
@@ -627,7 +627,7 @@ _GLOBAL(sys_call_table32)
...
@@ -627,7 +627,7 @@ _GLOBAL(sys_call_table32)
.
llong
.
sys32_clone
/*
120
*/
.
llong
.
sys32_clone
/*
120
*/
.
llong
.
sys32_setdomainname
.
llong
.
sys32_setdomainname
.
llong
.
ppc64_newuname
.
llong
.
ppc64_newuname
.
llong
.
sys
32_modify_ldt
.
llong
.
sys
_ni_syscall
/*
old
modify_ldt
syscall
holder
*/
.
llong
.
sys32_adjtimex
.
llong
.
sys32_adjtimex
.
llong
.
sys_mprotect
/*
125
*/
.
llong
.
sys_mprotect
/*
125
*/
.
llong
.
sys32_sigprocmask
.
llong
.
sys32_sigprocmask
...
@@ -839,7 +839,7 @@ _GLOBAL(sys_call_table)
...
@@ -839,7 +839,7 @@ _GLOBAL(sys_call_table)
.
llong
.
sys_ni_syscall
/*
old
profil
syscall
holder
*/
.
llong
.
sys_ni_syscall
/*
old
profil
syscall
holder
*/
.
llong
.
sys_statfs
.
llong
.
sys_statfs
.
llong
.
sys_fstatfs
/*
100
*/
.
llong
.
sys_fstatfs
/*
100
*/
.
llong
.
sys_
ioperm
.
llong
.
sys_
ni_syscall
/*
old
ioperm
syscall
holder
*/
.
llong
.
sys_socketcall
.
llong
.
sys_socketcall
.
llong
.
sys_syslog
.
llong
.
sys_syslog
.
llong
.
sys_setitimer
.
llong
.
sys_setitimer
...
@@ -848,10 +848,10 @@ _GLOBAL(sys_call_table)
...
@@ -848,10 +848,10 @@ _GLOBAL(sys_call_table)
.
llong
.
sys_newlstat
.
llong
.
sys_newlstat
.
llong
.
sys_newfstat
.
llong
.
sys_newfstat
.
llong
.
sys_uname
.
llong
.
sys_uname
.
llong
.
sys_
iopl
/*
110
*/
.
llong
.
sys_
ni_syscall
/*
110
old
iopl
syscall
holder
*/
.
llong
.
sys_vhangup
.
llong
.
sys_vhangup
.
llong
.
sys_ni_syscall
/*
old
'idle'
syscall
*/
.
llong
.
sys_ni_syscall
/*
old
'idle'
syscall
*/
.
llong
.
sys_
vm86
.
llong
.
sys_
ni_syscall
/*
old
vm86
syscall
holder
*/
.
llong
.
sys_wait4
.
llong
.
sys_wait4
.
llong
.
sys_swapoff
/*
115
*/
.
llong
.
sys_swapoff
/*
115
*/
.
llong
.
sys_sysinfo
.
llong
.
sys_sysinfo
...
@@ -861,7 +861,7 @@ _GLOBAL(sys_call_table)
...
@@ -861,7 +861,7 @@ _GLOBAL(sys_call_table)
.
llong
.
sys_clone
/*
120
*/
.
llong
.
sys_clone
/*
120
*/
.
llong
.
sys_setdomainname
.
llong
.
sys_setdomainname
.
llong
.
ppc64_newuname
.
llong
.
ppc64_newuname
.
llong
.
sys_
modify_ldt
.
llong
.
sys_
ni_syscall
/*
old
modify_ldt
syscall
*/
.
llong
.
sys_adjtimex
.
llong
.
sys_adjtimex
.
llong
.
sys_mprotect
/*
125
*/
.
llong
.
sys_mprotect
/*
125
*/
.
llong
.
sys_sigprocmask
.
llong
.
sys_sigprocmask
...
...
arch/ppc64/kernel/sys_ppc32.c
View file @
d203ae95
...
@@ -3923,30 +3923,6 @@ asmlinkage long sys32_getsid(u32 pid)
...
@@ -3923,30 +3923,6 @@ asmlinkage long sys32_getsid(u32 pid)
}
}
extern
asmlinkage
long
sys_ioperm
(
unsigned
long
from
,
unsigned
long
num
,
int
on
);
/* Note: it is necessary to treat on as an unsigned int,
* with the corresponding cast to a signed int to insure that the
* proper conversion (sign extension) between the register representation of a signed int (msr in 32-bit mode)
* and the register representation of a signed int (msr in 64-bit mode) is performed.
*/
asmlinkage
long
sys32_ioperm
(
unsigned
long
from
,
unsigned
long
num
,
u32
on
)
{
return
sys_ioperm
(
from
,
num
,
(
int
)
on
);
}
extern
asmlinkage
int
sys_iopl
(
int
a1
,
int
a2
,
int
a3
,
int
a4
);
/* Note: it is necessary to treat a1, a2, a3, and a4 as unsigned ints,
* with the corresponding cast to a signed int to insure that the
* proper conversion (sign extension) between the register representation of a signed int (msr in 32-bit mode)
* and the register representation of a signed int (msr in 64-bit mode) is performed.
*/
asmlinkage
int
sys32_iopl
(
u32
a1
,
u32
a2
,
u32
a3
,
u32
a4
)
{
return
sys_iopl
((
int
)
a1
,
(
int
)
a2
,
(
int
)
a3
,
(
int
)
a4
);
}
extern
asmlinkage
long
sys_kill
(
int
pid
,
int
sig
);
extern
asmlinkage
long
sys_kill
(
int
pid
,
int
sig
);
...
@@ -3988,19 +3964,6 @@ asmlinkage long sys32_mlockall(u32 flags)
...
@@ -3988,19 +3964,6 @@ asmlinkage long sys32_mlockall(u32 flags)
}
}
extern
asmlinkage
int
sys_modify_ldt
(
int
a1
,
int
a2
,
int
a3
,
int
a4
);
/* Note: it is necessary to treat a1, a2, a3, and a4 as unsigned ints,
* with the corresponding cast to a signed int to insure that the
* proper conversion (sign extension) between the register representation of a signed int (msr in 32-bit mode)
* and the register representation of a signed int (msr in 64-bit mode) is performed.
*/
asmlinkage
int
sys32_modify_ldt
(
u32
a1
,
u32
a2
,
u32
a3
,
u32
a4
)
{
return
sys_modify_ldt
((
int
)
a1
,
(
int
)
a2
,
(
int
)
a3
,
(
int
)
a4
);
}
extern
asmlinkage
long
sys_msync
(
unsigned
long
start
,
size_t
len
,
int
flags
);
extern
asmlinkage
long
sys_msync
(
unsigned
long
start
,
size_t
len
,
int
flags
);
/* Note: it is necessary to treat flags as an unsigned int,
/* Note: it is necessary to treat flags as an unsigned int,
...
@@ -4287,18 +4250,6 @@ asmlinkage int sys32_vfork(u32 p1, u32 p2, u32 p3, u32 p4, u32 p5, u32 p6, struc
...
@@ -4287,18 +4250,6 @@ asmlinkage int sys32_vfork(u32 p1, u32 p2, u32 p3, u32 p4, u32 p5, u32 p6, struc
}
}
extern
asmlinkage
int
sys_vm86
(
int
a1
,
int
a2
,
int
a3
,
int
a4
);
/* Note: it is necessary to treat a1, a2, a3, and a4 as unsigned ints,
* with the corresponding cast to a signed int to insure that the
* proper conversion (sign extension) between the register representation of a signed int (msr in 32-bit mode)
* and the register representation of a signed int (msr in 64-bit mode) is performed.
*/
asmlinkage
int
sys32_vm86
(
u32
a1
,
u32
a2
,
u32
a3
,
u32
a4
)
{
return
sys_vm86
((
int
)
a1
,
(
int
)
a2
,
(
int
)
a3
,
(
int
)
a4
);
}
extern
ssize_t
sys_pread64
(
unsigned
int
fd
,
char
*
buf
,
size_t
count
,
extern
ssize_t
sys_pread64
(
unsigned
int
fd
,
char
*
buf
,
size_t
count
,
loff_t
pos
);
loff_t
pos
);
...
...
arch/ppc64/kernel/syscalls.c
View file @
d203ae95
...
@@ -52,30 +52,11 @@ check_bugs(void)
...
@@ -52,30 +52,11 @@ check_bugs(void)
{
{
}
}
asmlinkage
int
sys_ioperm
(
unsigned
long
from
,
unsigned
long
num
,
int
on
)
int
sys_ioperm
(
unsigned
long
from
,
unsigned
long
num
,
int
on
)
{
{
printk
(
KERN_ERR
"sys_ioperm()
\n
"
);
return
-
EIO
;
return
-
EIO
;
}
}
int
sys_iopl
(
int
a1
,
int
a2
,
int
a3
,
int
a4
)
{
printk
(
KERN_ERR
"sys_iopl(%x, %x, %x, %x)!
\n
"
,
a1
,
a2
,
a3
,
a4
);
return
(
-
ENOSYS
);
}
int
sys_vm86
(
int
a1
,
int
a2
,
int
a3
,
int
a4
)
{
printk
(
KERN_ERR
"sys_vm86(%x, %x, %x, %x)!
\n
"
,
a1
,
a2
,
a3
,
a4
);
return
(
-
ENOSYS
);
}
int
sys_modify_ldt
(
int
a1
,
int
a2
,
int
a3
,
int
a4
)
{
printk
(
KERN_ERR
"sys_modify_ldt(%x, %x, %x, %x)!
\n
"
,
a1
,
a2
,
a3
,
a4
);
return
(
-
ENOSYS
);
}
/*
/*
* sys_ipc() is the de-multiplexer for the SysV IPC calls..
* sys_ipc() is the de-multiplexer for the SysV IPC calls..
*
*
...
@@ -193,7 +174,7 @@ asmlinkage int sys_pipe(int *fildes)
...
@@ -193,7 +174,7 @@ asmlinkage int sys_pipe(int *fildes)
return
error
;
return
error
;
}
}
asmlinkage
unsigned
long
sys_mmap
(
unsigned
long
addr
,
size_t
len
,
unsigned
long
sys_mmap
(
unsigned
long
addr
,
size_t
len
,
unsigned
long
prot
,
unsigned
long
flags
,
unsigned
long
prot
,
unsigned
long
flags
,
unsigned
long
fd
,
off_t
offset
)
unsigned
long
fd
,
off_t
offset
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment