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
Kirill Smelkov
linux
Commits
01cbbadc
Commit
01cbbadc
authored
Mar 05, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Hook up POSIX-timer syscalls. Take advantage of ptrace_notify().
parent
c393294e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
17 deletions
+23
-17
arch/ia64/kernel/entry.S
arch/ia64/kernel/entry.S
+9
-9
arch/ia64/kernel/ptrace.c
arch/ia64/kernel/ptrace.c
+5
-8
include/asm-ia64/unistd.h
include/asm-ia64/unistd.h
+9
-0
No files found.
arch/ia64/kernel/entry.S
View file @
01cbbadc
...
@@ -1281,15 +1281,15 @@ sys_call_table:
...
@@ -1281,15 +1281,15 @@ sys_call_table:
data8
sys_epoll_wait
//
1245
data8
sys_epoll_wait
//
1245
data8
sys_restart_syscall
data8
sys_restart_syscall
data8
sys_semtimedop
data8
sys_semtimedop
data8
ia64_ni_syscall
data8
sys_timer_create
data8
ia64_ni_syscall
data8
sys_timer_settime
data8
ia64_ni_syscall
//
1250
data8
sys_timer_gettime
//
1250
data8
ia64_ni_syscall
data8
sys_timer_getoverrun
data8
ia64_ni_syscall
data8
sys_timer_delete
data8
ia64_ni_syscall
data8
sys_clock_settime
data8
ia64_ni_syscall
data8
sys_clock_gettime
data8
ia64_ni_syscall
//
1255
data8
sys_clock_getres
//
1255
data8
ia64_ni_syscall
data8
sys_clock_nanosleep
data8
ia64_ni_syscall
data8
ia64_ni_syscall
data8
ia64_ni_syscall
data8
ia64_ni_syscall
data8
ia64_ni_syscall
data8
ia64_ni_syscall
...
...
arch/ia64/kernel/ptrace.c
View file @
01cbbadc
...
@@ -1342,15 +1342,12 @@ syscall_trace (void)
...
@@ -1342,15 +1342,12 @@ syscall_trace (void)
* The 0x80 provides a way for the tracing parent to distinguish between a syscall
* The 0x80 provides a way for the tracing parent to distinguish between a syscall
* stop and SIGTRAP delivery.
* stop and SIGTRAP delivery.
*/
*/
current
->
exit_code
=
SIGTRAP
|
((
current
->
ptrace
&
PT_TRACESYSGOOD
)
ptrace_notify
(
SIGTRAP
|
((
current
->
ptrace
&
PT_TRACESYSGOOD
)
?
0x80
:
0
));
?
0x80
:
0
);
set_current_state
(
TASK_STOPPED
);
notify_parent
(
current
,
SIGCHLD
);
schedule
();
/*
/*
* This isn't the same as continuing with a signal, but it
* This isn't the same as continuing with a signal, but it
will do for normal use.
*
will do for normal use. strace only continues with a
*
strace only continues with a signal if the stopping signal is not SIGTRAP.
*
signal if the stopping signal is not SIGTRAP.
-brl
* -brl
*/
*/
if
(
current
->
exit_code
)
{
if
(
current
->
exit_code
)
{
send_sig
(
current
->
exit_code
,
current
,
1
);
send_sig
(
current
->
exit_code
,
current
,
1
);
...
...
include/asm-ia64/unistd.h
View file @
01cbbadc
...
@@ -237,6 +237,15 @@
...
@@ -237,6 +237,15 @@
#define __NR_epoll_wait 1245
#define __NR_epoll_wait 1245
#define __NR_restart_syscall 1246
#define __NR_restart_syscall 1246
#define __NR_semtimedop 1247
#define __NR_semtimedop 1247
#define __NR_sys_timer_create 1248
#define __NR_sys_timer_settime 1249
#define __NR_sys_timer_gettime 1250
#define __NR_sys_timer_getoverrun 1251
#define __NR_sys_timer_delete 1252
#define __NR_sys_clock_settime 1253
#define __NR_sys_clock_gettime 1254
#define __NR_sys_clock_getres 1255
#define __NR_sys_clock_nanosleep 1256
#if !defined(__ASSEMBLY__) && !defined(ASSEMBLER)
#if !defined(__ASSEMBLY__) && !defined(ASSEMBLER)
...
...
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