Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17588
b: refs/heads/master
c: 718bcce
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and Linus Torvalds committed Jan 10, 2006
1 parent 90f5852 commit ef31b1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5f82b2b77e66d452c3037cc47f436d2d76fd5f06
refs/heads/master: 718bcceb5ad72a5def2c2fd1fa3ef964be32a857
3 changes: 3 additions & 0 deletions trunk/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ int do_sys_settimeofday(struct timespec *tv, struct timezone *tz)
static int firsttime = 1;
int error = 0;

if (!timespec_valid(tv))
return -EINVAL;

error = security_settime(tv, tz);
if (error)
return error;
Expand Down

0 comments on commit ef31b1b

Please sign in to comment.