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
215b5cf3
Commit
215b5cf3
authored
May 12, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix do_utimes() user pointer annotations.
parent
fc6d1790
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fs/open.c
fs/open.c
+1
-1
include/linux/time.h
include/linux/time.h
+1
-1
No files found.
fs/open.c
View file @
215b5cf3
...
...
@@ -280,7 +280,7 @@ asmlinkage long sys_utime(char __user * filename, struct utimbuf __user * times)
* must be owner or have write permission.
* Else, update from *times, must be owner or super user.
*/
long
do_utimes
(
char
__user
*
filename
,
struct
timeval
__user
*
times
)
long
do_utimes
(
char
__user
*
filename
,
struct
timeval
*
times
)
{
int
error
;
struct
nameidata
nd
;
...
...
include/linux/time.h
View file @
215b5cf3
...
...
@@ -204,7 +204,7 @@ extern void do_settimeofday(struct timeval *tv);
extern
int
do_sys_settimeofday
(
struct
timeval
*
tv
,
struct
timezone
*
tz
);
extern
void
clock_was_set
(
void
);
// call when ever the clock is set
extern
long
do_nanosleep
(
struct
timespec
*
t
);
extern
long
do_utimes
(
char
*
filename
,
struct
timeval
*
times
);
extern
long
do_utimes
(
char
__user
*
filename
,
struct
timeval
*
times
);
#endif
#define FD_SETSIZE __FD_SETSIZE
...
...
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