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
2b6128a4
Commit
2b6128a4
authored
Apr 09, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Annotate kernel/itimer.c with user pointer annotations.
parent
5fd53833
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
kernel/itimer.c
kernel/itimer.c
+4
-3
No files found.
kernel/itimer.c
View file @
2b6128a4
...
...
@@ -48,7 +48,7 @@ int do_getitimer(int which, struct itimerval *value)
}
/* SMP: Only we modify our itimer values. */
asmlinkage
long
sys_getitimer
(
int
which
,
struct
itimerval
*
value
)
asmlinkage
long
sys_getitimer
(
int
which
,
struct
itimerval
__user
*
value
)
{
int
error
=
-
EFAULT
;
struct
itimerval
get_buffer
;
...
...
@@ -120,8 +120,9 @@ int do_setitimer(int which, struct itimerval *value, struct itimerval *ovalue)
/* SMP: Again, only we play with our itimers, and signals are SMP safe
* now so that is not an issue at all anymore.
*/
asmlinkage
long
sys_setitimer
(
int
which
,
struct
itimerval
*
value
,
struct
itimerval
*
ovalue
)
asmlinkage
long
sys_setitimer
(
int
which
,
struct
itimerval
__user
*
value
,
struct
itimerval
__user
*
ovalue
)
{
struct
itimerval
set_buffer
,
get_buffer
;
int
error
;
...
...
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