Subversion リポジトリの参照
Diff of /trunk/1.8.x/ccs-patch/patches/ccs-patch-2.6.35-ubuntu-10.10.diff
Parent Directory
| Revision Log
| Patch
352 |
* Verify we have a legal set of flags |
* Verify we have a legal set of flags |
353 |
--- linux-2.6.35-22.32.orig/kernel/kmod.c |
--- linux-2.6.35-22.32.orig/kernel/kmod.c |
354 |
+++ linux-2.6.35-22.32/kernel/kmod.c |
+++ linux-2.6.35-22.32/kernel/kmod.c |
355 |
@@ -153,6 +153,11 @@ static int ____call_usermodehelper(void |
@@ -153,6 +153,11 @@ static int ____call_usermodehelper(void |
356 |
goto fail; |
goto fail; |
357 |
} |
} |
358 |
|
|
443 |
|
|
444 |
return do_tkill(tgid, pid, sig); |
return do_tkill(tgid, pid, sig); |
445 |
} |
} |
446 |
@@ -2397,6 +2401,8 @@ SYSCALL_DEFINE2(tkill, pid_t, pid, int, |
@@ -2397,6 +2401,8 @@ SYSCALL_DEFINE2(tkill, pid_t, pid, int, |
447 |
/* This is only valid for single tasks */ |
/* This is only valid for single tasks */ |
448 |
if (pid <= 0) |
if (pid <= 0) |
449 |
return -EINVAL; |
return -EINVAL; |
452 |
|
|
453 |
return do_tkill(0, pid, sig); |
return do_tkill(0, pid, sig); |
454 |
} |
} |
455 |
@@ -2414,6 +2420,8 @@ SYSCALL_DEFINE3(rt_sigqueueinfo, pid_t, |
@@ -2414,6 +2420,8 @@ SYSCALL_DEFINE3(rt_sigqueueinfo, pid_t, |
456 |
if (info.si_code >= 0) |
if (info.si_code >= 0) |
457 |
return -EPERM; |
return -EPERM; |
458 |
info.si_signo = sig; |
info.si_signo = sig; |
|
Legend:
Removed from v.4048 |
|
changed lines |
|
Added in v.4049 |
|
|
| |